fixed
This commit is contained in:
parent
b96d90d6a3
commit
69a0733ebe
3 changed files with 9 additions and 2 deletions
2
main.c
2
main.c
|
|
@ -25,10 +25,12 @@ int main() {
|
|||
SDL_Event e;
|
||||
int running = 1;
|
||||
while (SDL_PollEvent(&e)) {
|
||||
printf("INSgkldjsj\n");
|
||||
if (e.type == SDL_EVENT_QUIT) running = false;
|
||||
// Rendorrrr
|
||||
glViewport(0, 0, 800, 600);
|
||||
glClearColor(0.1f, 0.1f, 0.1f, 1.0f); // Dark gray background
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
//SDL_GL_SwapWindow(window);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue