mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-11 16:22:12 +00:00
accelerated :)
This commit is contained in:
parent
d2ecc63988
commit
90ce2e5dc3
@ -733,7 +733,7 @@ int initGraphics(std::string windowTitle, int width, int height)
|
||||
TTF_Init();
|
||||
|
||||
gWindow = SDL_CreateWindow(windowTitle.c_str(), 40, 40, WINDOW_WIDTH, WINDOW_HEIGHT, SDL_WINDOW_SHOWN);
|
||||
gRenderer = SDL_CreateRenderer(gWindow, -1, 0);
|
||||
gRenderer = SDL_CreateRenderer(gWindow, -1, 0, SDL_RENDERER_ACCELERATED);
|
||||
|
||||
//Get window surface
|
||||
gScreenSurface = SDL_GetWindowSurface(gWindow);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user