OSDN Git Service

radeon: drop border check
authorDave Airlie <airlied@redhat.com>
Fri, 11 Nov 2011 15:28:31 +0000 (15:28 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 5 Dec 2011 11:31:15 +0000 (11:31 +0000)
now that we strip borders off earlier.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/radeon/radeon_texstate.c

index e6fb121..ff9351a 100644 (file)
@@ -982,11 +982,6 @@ static GLboolean setup_hardware_state(r100ContextPtr rmesa, radeonTexObj *t, int
 
    firstImage = t->base.Image[0][t->minLod];
 
-   if (firstImage->Border > 0) {
-      fprintf(stderr, "%s: border\n", __FUNCTION__);
-      return GL_FALSE;
-   }
-
    log2Width  = firstImage->WidthLog2;
    log2Height = firstImage->HeightLog2;
    texelBytes = _mesa_get_format_bytes(firstImage->TexFormat);