diff options
author | Marek Olšák <maraeo@gmail.com> | 2009-10-31 05:38:25 +0100 |
---|---|---|
committer | Joakim Sindholt <opensource@zhasha.com> | 2009-10-31 07:30:48 +0100 |
commit | 3f60130b87a4a75f1b7cb6e0b854001bbe8f7ec8 (patch) | |
tree | 8abd46b5d75f3bcdb16353fc7ae0409a04edf07f /src/gallium | |
parent | a8f85dceb5e721437ba30ec540cd0bf8ee454325 (diff) |
r300g: pretend NPOT support
It's requires to get GL2.1, therefore, much more piglit tests can be used
for testing. Figure out later how to emulate this.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 6efa17cbaf..390b63007e 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -84,7 +84,9 @@ static int r300_get_param(struct pipe_screen* pscreen, int param) /* XXX I'm told this goes up to 16 */ return 8; case PIPE_CAP_NPOT_TEXTURES: - return 0; + /* XXX enable now to get GL2.1 API, + * figure out later how to emulate this */ + return 1; case PIPE_CAP_TWO_SIDED_STENCIL: if (r300screen->caps->is_r500) { return 1; |