Browse Source

oops, typo

David Rose 21 years ago
parent
commit
af1330f0dc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/glstuff/glGeomMunger_src.cxx

+ 1 - 1
panda/src/glstuff/glGeomMunger_src.cxx

@@ -51,7 +51,7 @@ munge_format_impl(const qpGeomVertexFormat *orig) {
     format->get_data_type(InternalName::get_color());
   if (color_type != (qpGeomVertexDataType *)NULL &&
       (color_type->get_numeric_type() == qpGeomVertexDataType::NT_packed_8888 ||
-       color_type->get_contents() != qpGeomVertexDataType::NT_rgba)) {
+       color_type->get_contents() != qpGeomVertexDataType::C_rgba)) {
     // We need to convert the color format; OpenGL doesn't support the
     // byte order of DirectX's packed ARGB format.
     int color_array = format->get_array_with(InternalName::get_color());