X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_render.c;h=ea582356c4cee9d70199e4b94ac9739cd18fcc73;hb=5bb71fef0e63780f95f403fb14b824778cecbe9b;hp=e1a30886b8de504afacda8052fbef4e9eba4c2ef;hpb=93790b71d3a89724255dc73239e38c08ad4bbac7;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_render.c b/world_render.c index e1a3088..ea58235 100644 --- a/world_render.c +++ b/world_render.c @@ -145,15 +145,6 @@ static GLuint world_get_texture( world_instance *world, u32 id ){ else return world->textures[ id ]; } -#if 0 -static void bindpoint_diffuse_texture1( world_instance *world, - struct world_surface *mat ){ - glActiveTexture( GL_TEXTURE1 ); - glBindTexture( GL_TEXTURE_2D, - world_get_texture(world,mat->info.tex_diffuse) ); -} -#endif - /* * Passes Rendering * ---------------------------------------------------------------------------- @@ -1210,7 +1201,6 @@ void render_world_override( world_instance *world, v4f uPlayerPos, uSpawnPos; v4_zero( uPlayerPos ); v4_zero( uSpawnPos ); - v3_copy( world->player_co, uPlayerPos ); if( dest_spawn && (v3_dist2(dest_spawn->transform.co,uPlayerPos) > 0.1f) )