commit | 0d0e94860cd042b64e064fbb58ddc2521248e556 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Thu Oct 13 08:46:34 2016 -0700 |
committer | Sam Lantinga <slouken@libsdl.org> | Thu Oct 13 08:46:34 2016 -0700 |
tree | 2eae4a8438ecafdf8a7094a0125e32b42bd536ee | |
parent | ccef9153da1484949ed4633e96fd9a92f932264c [diff] |
Fixed bug 3355 - false "Invalid renderer" after creating an "opengles2" renderer. Call SDL_GL_GetDrawableSize() directly because we may be in the initialization path and SDL_GetRendererOutputSize() will fail because the renderer magic isn't set up yet.