summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx/nvfx_vertprog.c
diff options
context:
space:
mode:
authorWill Dyson <will.dyson@gmail.com>2010-06-19 22:04:45 +0200
committerMaciej Cencora <m.cencora@gmail.com>2010-06-19 22:09:24 +0200
commitc674a7eb7fb2fd170df7ff5e3cefdddabda1a03f (patch)
treef3b0cbca8e64cffacce10e927265cd6f36621fc7 /src/gallium/drivers/nvfx/nvfx_vertprog.c
parent9b2ebcaf4b94bfc8756f6b216e0e452013616f2c (diff)
Revert "Fix image_matches_texture_obj() MaxLevel check"
This reverts commit a9ee95651131e27d5acf3d10909b5b7e5c8d3e92. It was based on a failure to understand how ther driver allocates memory, and causes a regression with Celestia. Set MaxLevel to dstLevel before allocating new mipmap level. The radeon driver will fail to allocate space for a new level that is outside of BaseLevel..MaxLevel. Set MaxLevel before allocating. Signed-off-by: Maciej Cencora <m.cencora@gmail.com>
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_vertprog.c')
0 files changed, 0 insertions, 0 deletions