aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/fbobject.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-06-20 09:33:04 +0200
committermarha <marha@users.sourceforge.net>2011-06-20 09:33:04 +0200
commit4703c93aaecf0d5794eca723cd5b1b72b04d04ee (patch)
tree093ee59932ea8c412a7bc42829664b9d14edc1af /mesalib/src/mesa/main/fbobject.c
parent743d2ab8160b84c62106467c50ec3871adbf5e75 (diff)
downloadvcxsrv-4703c93aaecf0d5794eca723cd5b1b72b04d04ee.tar.gz
vcxsrv-4703c93aaecf0d5794eca723cd5b1b72b04d04ee.tar.bz2
vcxsrv-4703c93aaecf0d5794eca723cd5b1b72b04d04ee.zip
libX11 xserver mesa git update 20 June 2011
Diffstat (limited to 'mesalib/src/mesa/main/fbobject.c')
-rw-r--r--mesalib/src/mesa/main/fbobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesalib/src/mesa/main/fbobject.c b/mesalib/src/mesa/main/fbobject.c
index 07853e03c..8cc3fd49a 100644
--- a/mesalib/src/mesa/main/fbobject.c
+++ b/mesalib/src/mesa/main/fbobject.c
@@ -1556,7 +1556,7 @@ check_begin_texture_render(struct gl_context *ctx, struct gl_framebuffer *fb)
GLuint i;
ASSERT(ctx->Driver.RenderTexture);
- if (is_winsys_fbo(fb));
+ if (is_winsys_fbo(fb))
return; /* can't render to texture with winsys framebuffers */
for (i = 0; i < BUFFER_COUNT; i++) {
@@ -1576,7 +1576,7 @@ check_begin_texture_render(struct gl_context *ctx, struct gl_framebuffer *fb)
static void
check_end_texture_render(struct gl_context *ctx, struct gl_framebuffer *fb)
{
- if (is_winsys_fbo(fb));
+ if (is_winsys_fbo(fb))
return; /* can't render to texture with winsys framebuffers */
if (ctx->Driver.FinishRenderTexture) {