nv50: enable npot textures
authorBen Skeggs <skeggsb@gmail.com>
Mon, 12 Jan 2009 04:27:51 +0000 (14:27 +1000)
committerBen Skeggs <skeggsb@gmail.com>
Mon, 12 Jan 2009 06:59:34 +0000 (16:59 +1000)
src/gallium/drivers/nv50/nv50_screen.c

index 52f6a4068823a21a54c3ea51875dea1a05b4d8d2..e2071103fba152f516a5f8d567e0c76d359acbd6 100644 (file)
@@ -90,7 +90,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, int param)
        case PIPE_CAP_MAX_TEXTURE_IMAGE_UNITS:
                return 32;
        case PIPE_CAP_NPOT_TEXTURES:
-               return 0;
+               return 1;
        case PIPE_CAP_TWO_SIDED_STENCIL:
                return 1;
        case PIPE_CAP_GLSL: