mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 08:50:09 +01:00
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.
This commit is contained in:
parent
a8f85dceb5
commit
3f60130b87
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue