From af1330f0dccd0ff7cdce0d180e463d3f49d6ed33 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 29 Mar 2005 00:17:42 +0000 Subject: [PATCH] oops, typo --- panda/src/glstuff/glGeomMunger_src.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/glstuff/glGeomMunger_src.cxx b/panda/src/glstuff/glGeomMunger_src.cxx index 99e5ef89e9..b627832640 100644 --- a/panda/src/glstuff/glGeomMunger_src.cxx +++ b/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());