mesa-dri_7.8.1: update glamo patch a bit
authorMartin Jansa <Martin.Jansa@gmail.com>
Tue, 25 May 2010 14:03:45 +0000 (16:03 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Thu, 27 May 2010 13:51:28 +0000 (15:51 +0200)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/mesa/mesa-dri-7.8.1/glamo.patch
recipes/mesa/mesa-dri_7.8.1.bb

index cc55c8b..52b4f3f 100644 (file)
@@ -2371,3 +2371,16 @@ index 0000000..ba8f997
 +                                   unsigned int count);
 +
 +#endif   /* __GLAMO_TRIS_H */
+diff --git a/src/mesa/drivers/dri/glamo/glamo_screen.c b/src/mesa/drivers/dri/glamo/glamo_screen.c
+index 39148f3..8244ec3 100644
+--- a/src/mesa/drivers/dri/glamo/glamo_screen.c
++++ b/src/mesa/drivers/dri/glamo/glamo_screen.c
+@@ -166,7 +166,7 @@ static GLboolean glamoCreateBuffer(__DRIscreen *driScrnPriv,
+    gfb = CALLOC_STRUCT(glamo_framebuffer);
+    if ( !gfb ) return GL_FALSE;
+-   _mesa_initialize_framebuffer(&gfb->base, mesaVis);
++   _mesa_initialize_window_framebuffer(&gfb->base, mesaVis);
+    /* we only support this one format at the moment */
+    rgbFormat = GL_RGB5;
index 1d8e764..5609cb4 100644 (file)
@@ -15,7 +15,7 @@ SRC_URI[archive.sha256sum] = "b0b46e5abfd75db44501e308125fa92bcf1c91d91e97a043a3
 SRC_URI[demos.md5sum] = "9ef47f911869657c6bf2f43ebce86b61"
 SRC_URI[demos.sha256sum] = "e9f20b9345240064ac35ec914ebce63322a96d3f7c566963791d0daf7e7a93e5"
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 # most of our targets do not have DRI so will use mesa-xlib
 DEFAULT_PREFERENCE = "-1"