Remember me

Lost Password?

Register now!


Who's Online
34 user(s) are online (25 user(s) are browsing Forums)

Members: 0
Guests: 34


Support us!


Report message:*

Re: Redeclaration error

Subject: Re: Redeclaration error
by Capehill on 2020/11/24 16:53:23


It's not a MiniGL issue. I have been thinking about adding some checks in the SDL code that would make SDL_GL_GetProcAddress fail and eventually SDL_GL_GetAttribute fail (SDL_GL_GetAttribute calls SDL_GL_GetProcAddress, then glGetInteger), but it wouldn't fix the ScummVM issue of calling SDL_GL_GetAttribute without GL context. It would probably only hide the ScummVM issue by not crashing.

Based on this https://wiki.libsdl.org/SDL_GL_GetProcAddress , for example on Linux/X11 it's possible to query functions pointers even without context. On Windows it seems not.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project