mesa: add support for memory object creation/import/delete
[mesa.git] / src / mesa / main / drawtex.c
index 7285805c87142ca3105ae0f57a1b809fde1c0bce..9c4fdf90e3b8a19fac825901e42f4da9b88d0be5 100644 (file)
@@ -24,7 +24,6 @@
 #include "main/drawtex.h"
 #include "main/state.h"
 #include "main/imports.h"
-#include "main/mfeatures.h"
 #include "main/mtypes.h"
 
 
@@ -47,7 +46,7 @@ draw_texture(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z,
    if (ctx->NewState)
       _mesa_update_state(ctx);
 
-   ASSERT(ctx->Driver.DrawTex);
+   assert(ctx->Driver.DrawTex);
    ctx->Driver.DrawTex(ctx, x, y, z, width, height);
 
    _mesa_set_vp_override(ctx, GL_FALSE);