OpenGL2: Change normal/tangent vertex encoding.
This commit is contained in:
1 parent
7e808f92d6
commit
e488663e31
8 files changed
+108
-56
No files matched your search
@@ -673,11 +673,11 @@ void GLimp_InitExtraExtensions()
|
||||
|
||||
// GL_ARB_vertex_type_2_10_10_10_rev
|
||||
extension = "GL_ARB_vertex_type_2_10_10_10_rev";
|
||||
glRefConfig.packedNormalDataType = GL_UNSIGNED_BYTE;
|
||||
glRefConfig.packedNormalDataType = GL_BYTE;
|
||||
if( GLimp_HaveExtension( extension ) )
|
||||
{
|
||||
if (r_arb_vertex_type_2_10_10_10_rev->integer)
|
||||
glRefConfig.packedNormalDataType = GL_UNSIGNED_INT_2_10_10_10_REV;
|
||||
glRefConfig.packedNormalDataType = GL_INT_2_10_10_10_REV;
|
||||
|
||||
ri.Printf(PRINT_ALL, result[r_arb_vertex_type_2_10_10_10_rev->integer ? 1 : 0], extension);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user