SDL API renaming: SDL_render.h
Fixes https://github.com/libsdl-org/SDL/issues/6883
This commit is contained in:
@@ -32,7 +32,7 @@ void DrawChessBoard()
|
||||
SDL_Rect rect, darea;
|
||||
|
||||
/* Get the Size of drawing surface */
|
||||
SDL_RenderGetViewport(renderer, &darea);
|
||||
SDL_GetRenderViewport(renderer, &darea);
|
||||
|
||||
for (; row < 8; row++) {
|
||||
column = row % 2;
|
||||
|
||||
Reference in New Issue
Block a user