summaryrefslogtreecommitdiffstats
path: root/src/getopt/SConscript
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-08-22 01:29:11 -0700
committerKenneth Graunke <[email protected]>2013-08-22 20:28:53 -0700
commit62411681da4d1b7f9417f34dbf92a3e79e24dc09 (patch)
tree09456746d856df4ac3b351e6b75ccb854f962507 /src/getopt/SConscript
parentce8639a766d0c36e676eea6f55135d9dccf1cb90 (diff)
meta: Set correct viewport and projection in decompress_texture_image.
_mesa_meta_begin() sets up an orthographic project and initializes the viewport based on the current drawbuffer's width and height. This is likely the window size, since it occurs before the meta operation binds any temporary buffers. decompress_texture_image needs the viewport to be the size of the image it's trying to draw. Otherwise, it may only draw part of the image. v2: Actually set the projection properly too. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68250 Signed-off-by: Kenneth Graunke <[email protected]> Cc: Mak Nazecic-Andrlon <[email protected]>
Diffstat (limited to 'src/getopt/SConscript')
0 files changed, 0 insertions, 0 deletions