Skip to content

Commit

Permalink
Update main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbid authored Dec 24, 2023
1 parent af50465 commit 4dbeec8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,9 @@ void main_loop()
// clear buffer
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

// render scene
// render arena
glUniformMatrix4fv(modelview_id, 1, GL_FALSE, (float*)&view.m[0][0]);
glDisable(GL_CULL_FACE);
esBindRender(0);
glEnable(GL_CULL_FACE);

// render snowball pickup
if(bspawn == 1)
Expand Down Expand Up @@ -802,8 +800,6 @@ int main(int argc, char** argv)
//*************************************
// configure render options
//*************************************
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);

glEnable(GL_CULL_FACE);
glEnable(GL_DEPTH_TEST);

Expand Down

0 comments on commit 4dbeec8

Please # to comment.