Fix 'redefinition error' on win. - compiles, runs
This commit is contained in:
parent
ac5873c9e7
commit
72ca020f27
@ -9,4 +9,4 @@ void renderGame();
|
|||||||
|
|
||||||
int CreateSDLWindow();
|
int CreateSDLWindow();
|
||||||
|
|
||||||
void DestroyWindow();
|
void DestroySDLWindow();
|
@ -48,7 +48,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
DestroyWindow();
|
DestroySDLWindow();
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
return 0;}
|
return 0;}
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,7 @@ int CreateSDLWindow(){
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DestroyWindow(){
|
void DestroySDLWindow(){
|
||||||
// Zerstöre das Fenster und beende SDL
|
// Zerstöre das Fenster und beende SDL
|
||||||
SDL_DestroyRenderer(renderer);
|
SDL_DestroyRenderer(renderer);
|
||||||
SDL_DestroyWindow(window);
|
SDL_DestroyWindow(window);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user