Merge pull request #4 from Zweisamkeiten/master
fix(am/src/native/ioe/gpu.c): Replace SDL_WINDOW_SHOWN flag with SDL_WINDOW_OPENGL
This commit is contained in:
commit
ea17990531
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ void __am_gpu_init() {
|
|||
#else
|
||||
W * 2, H * 2,
|
||||
#endif
|
||||
SDL_WINDOW_SHOWN);
|
||||
SDL_WINDOW_OPENGL);
|
||||
surface = SDL_CreateRGBSurface(SDL_SWSURFACE, W, H, 32,
|
||||
RMASK, GMASK, BMASK, AMASK);
|
||||
SDL_AddTimer(1000 / FPS, texture_sync, NULL);
|
||||
|
|
Loading…
Add table
Reference in a new issue