diff options
author | Brian Paul <[email protected]> | 2012-01-19 11:37:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-19 16:23:12 -0700 |
commit | 7f2e12812a2208330ef8704e7c4721ececd2aab3 (patch) | |
tree | 64d7eed2de0abbc448b38c84532f615879bfc99e /SConstruct | |
parent | fdae0eaf222f271bfbc7e71d8561eb8b90685ae5 (diff) |
svga: move svga_texture() casts/calls in svga_surface_copy()
To fix failed assertions when calling glCopyBufferSubData().
svga_texture() asserts that the resource is a texture. Simply move the
calls to svga_texture() after the code that handles non-texture copies
so that we don't call it with non-texture resources.
Fixes glean bufferObject failure.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions