diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2010-02-01 22:33:29 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2010-02-01 22:33:29 +0300 |
commit | 6f2802032c36d9daf04800e9f7c72d16ae015bc1 (patch) | |
tree | 20a619b8ff2a73abff111b7f336431a9c1eb722b /overlay_gl | |
parent | 1b99c949fb4d08465d6aacf6e5ea8e65f7b35bc7 (diff) |
Unbind PBO buffer before we draw our GL overlay.
Diffstat (limited to 'overlay_gl')
-rw-r--r-- | overlay_gl/overlay.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/overlay_gl/overlay.c b/overlay_gl/overlay.c index fb8f6bbb3..b24c59e2a 100644 --- a/overlay_gl/overlay.c +++ b/overlay_gl/overlay.c @@ -520,6 +520,8 @@ static void drawContext(Context * ctx, int width, int height) { glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_TEXTURE_COORD_ARRAY); + glBindBufferARB(GL_PIXEL_UNPACK_BUFFER_ARB, 0); + drawOverlay(ctx, width, height); glMatrixMode(GL_TEXTURE); |