mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Pandora: Fixed SDL version in debug output.
This commit is contained in:
parent
38ad328ab9
commit
562926cdda
@ -628,12 +628,12 @@ PND_gl_createcontext(_THIS, SDL_Window * window)
|
|||||||
hNativeWnd = (NativeWindowType)malloc(16*1024);
|
hNativeWnd = (NativeWindowType)malloc(16*1024);
|
||||||
|
|
||||||
if(!hNativeWnd)
|
if(!hNativeWnd)
|
||||||
printf( "Error : Wiz framebuffer allocatation failed\n" );
|
printf( "Error: Wiz framebuffer allocatation failed\n" );
|
||||||
else
|
else
|
||||||
printf( "SDL13: Wiz framebuffer allocated: %X\n", hNativeWnd );
|
printf( "SDL: Wiz framebuffer allocated: %X\n", hNativeWnd );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
printf( "SDL13: Wiz framebuffer already allocated: %X\n", hNativeWnd );
|
printf( "SDL: Wiz framebuffer already allocated: %X\n", hNativeWnd );
|
||||||
}
|
}
|
||||||
|
|
||||||
wdata->gles_surface =
|
wdata->gles_surface =
|
||||||
@ -837,7 +837,7 @@ PND_gl_deletecontext(_THIS, SDL_GLContext context)
|
|||||||
{
|
{
|
||||||
free(hNativeWnd);
|
free(hNativeWnd);
|
||||||
hNativeWnd = 0;
|
hNativeWnd = 0;
|
||||||
printf( "SDL13: Wiz framebuffer released\n" );
|
printf( "SDL: Wiz framebuffer released\n" );
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user