OSDN Git Service

nouveau: include glformats.h to get missing prototype
authorBrian Paul <brianp@vmware.com>
Tue, 24 Jul 2012 16:33:18 +0000 (10:33 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 24 Jul 2012 16:33:20 +0000 (10:33 -0600)
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=52449

src/mesa/drivers/dri/nouveau/nouveau_vbo_t.c

index a9a56e7..436db32 100644 (file)
@@ -29,6 +29,7 @@
 #include "nouveau_util.h"
 
 #include "main/bufferobj.h"
+#include "main/glformats.h"
 #include "main/image.h"
 
 /* Arbitrary pushbuf length we can assume we can get with a single