diff options
author | Jakob Bornecrantz <[email protected]> | 2011-12-15 13:04:56 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2012-01-05 17:23:32 +0100 |
commit | 2bb9c6448949d105cd95ac5b72c73efc1f960a63 (patch) | |
tree | 503ca31984d3e6b8097679a6e842c6448d90196e /src/gallium/drivers/svga/svga_screen.c | |
parent | 85b5dac705fcf3fafb734696e1f863cfc21e2d6e (diff) |
svga: Fix texture cube param cap
Spotted by Thomas Hellstrom.
Reviewed-by: Thomas Hellstrom <[email protected]>
Signed-off-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index e8970effcce..0b4da15e226 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -185,8 +185,8 @@ svga_get_param(struct pipe_screen *screen, enum pipe_cap param) * No mechanism to query the host, and at least limited to 2048x2048 on * certain hardware. */ - return MIN2(screen->get_paramf(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS), - 12.0 /* 2048x2048 */); + return MIN2(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS), + 12 /* 2048x2048 */); case PIPE_CAP_BLEND_EQUATION_SEPARATE: /* req. for GL 1.5 */ return 1; |