You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SDL now working fine under OS X with the following change to
demos/vc.c
from:
if (SDL_LockTexture(vc_sdl_texture, &window_rect, &pixels_dst, &pitch) < 0) return_defer(1);
to
if (SDL_LockTexture(vc_sdl_texture, NULL, &pixels_dst, &pitch) < 0) return_defer(1);
shovemedia
changed the title
SDL ERROR: Invalid rectangle dimensions for LockTexture.
SDL ERROR: Invalid rectangle dimensions for LockTexture. [FIXED]
May 31, 2023
Complies fine. Tests pass.
All the SDL demos return the error in the title:
SDL ERROR: Invalid rectangle dimensions for LockTexture.
I'm on OS X and that's probably part of the issue. :/
I've worked with SDL just a bit, but not on a mac
The text was updated successfully, but these errors were encountered: