Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Allow setting method for GetProcAddress #16

Open
fsobolev opened this issue Sep 29, 2023 · 0 comments · May be fixed by #17
Open

Allow setting method for GetProcAddress #16

fsobolev opened this issue Sep 29, 2023 · 0 comments · May be fixed by #17
Labels
feature New feature or request
Milestone

Comments

@fsobolev
Copy link
Member

fsobolev commented Sep 29, 2023

While creating Avalonia example, SetupGL was causing problems, but copy-pasting the code only changing it to use Avalonia's gl.GetProcAddress made things work. I will add GetProcAddressFn to RenderContext to allow setting the method before calling SetupGL.

EDIT: Huh, don't know what I was doing wrong before, but I made it work in Avalonia without setting GetProcAddressFn. Anyway, can be useful for some edge cases I think (GLXGetProcAddress?). Actually it's needed on Windows

@fsobolev fsobolev added the feature New feature or request label Sep 29, 2023
@fsobolev fsobolev added this to the V2023.10.0 milestone Sep 29, 2023
@fsobolev fsobolev linked a pull request Sep 29, 2023 that will close this issue
7 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant