Skip to content

Commit

Permalink
fix PBO size.
Browse files Browse the repository at this point in the history
  • Loading branch information
hftom authored and ddennedy committed Dec 4, 2012
1 parent df4f607 commit 0ac814f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/modules/opengl/mlt_glsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,11 +433,9 @@ static glsl_pbo glsl_get_pbo( glsl_env g, int size )
glBindBuffer( GL_PIXEL_UNPACK_BUFFER_ARB, g->pbo->pbo );
glBufferData( GL_PIXEL_UNPACK_BUFFER_ARB, size, NULL, GL_STREAM_DRAW );
glBindBuffer( GL_PIXEL_UNPACK_BUFFER_ARB, 0 );
g->pbo->size = size;
}


g->pbo->size = size;

return g->pbo;
}

Expand Down

0 comments on commit 0ac814f

Please sign in to comment.