cull back of gate
authorhgn <hgodden00@gmail.com>
Tue, 28 Nov 2023 07:32:46 +0000 (07:32 +0000)
committerhgn <hgodden00@gmail.com>
Tue, 28 Nov 2023 07:32:46 +0000 (07:32 +0000)
world_gate.c

index ba4701c81a5097b4ebe81f48f9303ccc222752a2..259260c0f006a3110409ec27d0fd7b5fc7c5e5ea 100644 (file)
@@ -171,7 +171,7 @@ static int render_gate( world_instance *world, world_instance *world_inside,
    glStencilOp( GL_KEEP, GL_KEEP, GL_REPLACE );  
    glStencilFunc( GL_ALWAYS, 1, 0xFF ); 
    glStencilMask( 0xFF );
-   glDisable( GL_CULL_FACE );
+   glEnable( GL_CULL_FACE );
 
    m4x3f mmdl;
    ent_gate_get_mdl_mtx( gate, mmdl );