Skip to content
Snippets Groups Projects
Commit 31761e3c authored by slevy's avatar slevy
Browse files

Be consistent: use GL_TEXTURE_3D not GL_TEXTURE_3D_EXT.

parent 20d219e3
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ int txbind( Texture *tx, int *enabled )
}
#ifdef GL_TEXTURE_3D
txtarget = (tx->flags & TXF_3D) ? GL_TEXTURE_3D_EXT : GL_TEXTURE_2D;
txtarget = (tx->flags & TXF_3D) ? GL_TEXTURE_3D : GL_TEXTURE_2D;
#else
txtarget = GL_TEXTURE_2D;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment