Cleanup
This commit is contained in:
parent
9a50917062
commit
193f0bdc49
|
@ -185,10 +185,8 @@ void SceneFinish() {
|
|||
SDL_RenderPresent(RENDERER);
|
||||
|
||||
/* Only sensible place to hook the quit signal */
|
||||
|
||||
SDL_Event e = {0};
|
||||
|
||||
while (SDL_PollEvent(&e))
|
||||
SDL_Event e;
|
||||
while (SDL_PollEvent(&e)) {
|
||||
switch (e.type) {
|
||||
case SDL_QUIT:
|
||||
exit(0);
|
||||
|
@ -197,6 +195,7 @@ void SceneFinish() {
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void UploadMatrix4x4(const Matrix4x4* mat) {
|
||||
memcpy(&MATRIX, mat, sizeof(Matrix4x4));
|
||||
|
|
Loading…
Reference in New Issue
Block a user