mesa: Remove EXT_convolution.
More optional code.
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
#include "glheader.h"
|
||||
#include "imports.h"
|
||||
#include "colormac.h"
|
||||
#include "convolve.h"
|
||||
#include "dlopen.h"
|
||||
#include "image.h"
|
||||
#include "macros.h"
|
||||
@@ -187,7 +186,6 @@ _mesa_texstore_rgb_dxt1(TEXSTORE_PARAMS)
|
||||
srcPacking);
|
||||
if (!tempImage)
|
||||
return GL_FALSE; /* out of memory */
|
||||
_mesa_adjust_image_for_convolution(ctx, dims, &srcWidth, &srcHeight);
|
||||
pixels = tempImage;
|
||||
srcRowStride = 3 * srcWidth;
|
||||
srcFormat = GL_RGB;
|
||||
@@ -250,7 +248,6 @@ _mesa_texstore_rgba_dxt1(TEXSTORE_PARAMS)
|
||||
srcPacking);
|
||||
if (!tempImage)
|
||||
return GL_FALSE; /* out of memory */
|
||||
_mesa_adjust_image_for_convolution(ctx, dims, &srcWidth, &srcHeight);
|
||||
pixels = tempImage;
|
||||
srcRowStride = 4 * srcWidth;
|
||||
srcFormat = GL_RGBA;
|
||||
@@ -312,7 +309,6 @@ _mesa_texstore_rgba_dxt3(TEXSTORE_PARAMS)
|
||||
srcPacking);
|
||||
if (!tempImage)
|
||||
return GL_FALSE; /* out of memory */
|
||||
_mesa_adjust_image_for_convolution(ctx, dims, &srcWidth, &srcHeight);
|
||||
pixels = tempImage;
|
||||
srcRowStride = 4 * srcWidth;
|
||||
}
|
||||
@@ -373,7 +369,6 @@ _mesa_texstore_rgba_dxt5(TEXSTORE_PARAMS)
|
||||
srcPacking);
|
||||
if (!tempImage)
|
||||
return GL_FALSE; /* out of memory */
|
||||
_mesa_adjust_image_for_convolution(ctx, dims, &srcWidth, &srcHeight);
|
||||
pixels = tempImage;
|
||||
srcRowStride = 4 * srcWidth;
|
||||
}
|
||||
|
Reference in New Issue
Block a user