oops, typo

This commit is contained in:
David Rose 2005-03-29 00:17:42 +00:00
parent 60a0c18273
commit af1330f0dc
1 changed files with 1 additions and 1 deletions

View File

@ -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());