minor fix in buffer_object_get_target()

This commit is contained in:
Brian Paul
2003-10-14 14:49:39 +00:00
parent fd83bc2b33
commit 4b6f6e1b3d

View File

@@ -62,7 +62,7 @@ buffer_object_get_target( GLcontext *ctx, GLenum target, const char * str )
break;
default:
_mesa_error(ctx, GL_INVALID_ENUM, "gl%s(target)", str);
break;
return NULL;
}
if (bufObj->Name == 0)