mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Merge in a patch from the git repository that fixes a bug when trying
to reattach a framebuffer. Bug report: https://bugs.freedesktop.org/show_bug.cgi?id=10966 GIT commit: http://cgit.freedesktop.org/mesa/mesa/commit/?id=91c37599f621a0ec498c0f0add14f16470ca852b
This commit is contained in:
parent
ba5818af99
commit
12fb7db79b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258049
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= libosmesa
|
||||
PORTVERSION= 7.8.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/${PORTVERSION}/
|
||||
DISTNAME= MesaLib-${PORTVERSION}
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- src/mesa/drivers/osmesa/osmesa.c.orig 2010-07-22 15:04:03.000000000 +0200
|
||||
+++ src/mesa/drivers/osmesa/osmesa.c 2010-07-22 15:04:02.000000000 +0200
|
||||
@@ -1329,6 +1329,7 @@
|
||||
* size.
|
||||
*/
|
||||
osmesa->rb = new_osmesa_renderbuffer(&osmesa->mesa, osmesa->format, type);
|
||||
+ _mesa_remove_renderbuffer(osmesa->gl_buffer, BUFFER_FRONT_LEFT);
|
||||
_mesa_add_renderbuffer(osmesa->gl_buffer, BUFFER_FRONT_LEFT, osmesa->rb);
|
||||
assert(osmesa->rb->RefCount == 2);
|
||||
|
Loading…
Reference in New Issue
Block a user