mesa: Prefix main includes with dir to avoid conflicts.
[mesa.git] / src / mesa / state_tracker / st_atom_framebuffer.c
index d46c3ee16c5d8af9b6f6f3851f1114d18c9d0859..80df3b0506d5d2269878b4279d0517769aaa6c9a 100644 (file)
@@ -59,7 +59,7 @@ update_renderbuffer_surface(struct st_context *st,
        strb->surface->texture != texture ||
        strb->surface->width != rtt_width ||
        strb->surface->height != rtt_height) {
-      int level;
+      GLuint level;
       /* find matching mipmap level size */
       for (level = 0; level <= texture->last_level; level++) {
          if (texture->width[level] == rtt_width &&