We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34dbbd9 commit f499f6dCopy full SHA for f499f6d
1 file changed
src/backends/sdl2_renderer.cpp
@@ -520,7 +520,7 @@ void Renderer::releaseSurfaceImpl(SurfaceImpl *surfaceImpl) {
520
}
521
522
ret_code Renderer::getSurfaceInfo(Context &ctx, int32_t &w, int32_t &h) {
523
- SDLContext *sdlCtx = (SDLContext *) ctx.mBackendCtx;
+ SDLContext *sdlCtx = (SDLContext *) ctx.mBackendCtx->mHandle;
524
if (sdlCtx->mSurface == nullptr) {
525
return ErrorCode;
526
0 commit comments