[cairo-commit] glitz/src glitz_buffer.c,1.5,1.6
David Reveman
commit at pdx.freedesktop.org
Mon Nov 8 07:11:45 PST 2004
- Previous message: [cairo-commit] glitz ChangeLog,1.68,1.69
- Next message: [cairo-commit]
CairoJava/jni Cairo.cpp, 1.3, 1.4 CairoException.cpp,
1.4, 1.5 CairoFont.cpp, 1.3, 1.4 CairoFreetypeFont.cpp, 1.3,
1.4 CairoGlitzSurface.cpp, 1.8,
1.9 CairoImageBufferSurface.cpp, 1.3,
1.4 CairoLinearPattern.cpp, 1.3, 1.4 CairoMatrix.cpp, 1.3,
1.4 CairoPattern.cpp, 1.3, 1.4 CairoRadialPattern.cpp, 1.3,
1.4 CairoSWTSurface.cpp, 1.4, 1.5 CairoSurface.cpp, 1.3,
1.4 CairoSurfacePattern.cpp, 1.3, 1.4 utils.h, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: davidr
Update of /cvs/cairo/glitz/src
In directory gabe:/tmp/cvs-serv27959/src
Modified Files:
glitz_buffer.c
Log Message:
Buffer objects fix (Luca Barbieri)
Index: glitz_buffer.c
===================================================================
RCS file: /cvs/cairo/glitz/src/glitz_buffer.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- glitz_buffer.c 3 Nov 2004 22:50:58 -0000 1.5
+++ glitz_buffer.c 8 Nov 2004 15:11:43 -0000 1.6
@@ -302,6 +302,7 @@
gl->bind_buffer (buffer->target, buffer->name);
pointer = gl->map_buffer (buffer->target, buffer_access);
+ gl->bind_buffer (buffer->target, 0);
buffer->drawable->backend->pop_current (buffer->drawable);
}
@@ -322,6 +323,8 @@
buffer->drawable->backend->push_current (buffer->drawable, NULL,
GLITZ_ANY_CONTEXT_CURRENT);
+
+ gl->bind_buffer (buffer->target, buffer->name);
if (gl->unmap_buffer (buffer->target) == GLITZ_GL_FALSE)
status = GLITZ_STATUS_CONTENT_DESTROYED;
- Previous message: [cairo-commit] glitz ChangeLog,1.68,1.69
- Next message: [cairo-commit]
CairoJava/jni Cairo.cpp, 1.3, 1.4 CairoException.cpp,
1.4, 1.5 CairoFont.cpp, 1.3, 1.4 CairoFreetypeFont.cpp, 1.3,
1.4 CairoGlitzSurface.cpp, 1.8,
1.9 CairoImageBufferSurface.cpp, 1.3,
1.4 CairoLinearPattern.cpp, 1.3, 1.4 CairoMatrix.cpp, 1.3,
1.4 CairoPattern.cpp, 1.3, 1.4 CairoRadialPattern.cpp, 1.3,
1.4 CairoSWTSurface.cpp, 1.4, 1.5 CairoSurface.cpp, 1.3,
1.4 CairoSurfacePattern.cpp, 1.3, 1.4 utils.h, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list