diff options
author | Daniel Borca <[email protected]> | 2004-04-27 05:59:52 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2004-04-27 05:59:52 +0000 |
commit | bc04d041eb0365913553cdea2c07b83dab8f5414 (patch) | |
tree | e06ceaa31ff99ae8548d45112f59a5f29bcb80b9 /src/mesa | |
parent | 5be4c27b28e141506578008a176f41bc1a15fa75 (diff) |
transfer routines for compressed formats (avoid SEGFAULT, also prepare for external packers)
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/texformat.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/main/texformat.c b/src/mesa/main/texformat.c index 08276d828df..9db53641792 100644 --- a/src/mesa/main/texformat.c +++ b/src/mesa/main/texformat.c @@ -876,7 +876,7 @@ const struct gl_texture_format _mesa_texformat_rgb_fxt1 = { 0, /* IndexBits */ 0, /* DepthBits */ 0, /* TexelBytes */ - NULL, /* StoreTexImageFunc */ + _mesa_texstore_argb8888, /* StoreTexImageFunc */ NULL, /*impossible*/ /* FetchTexel1D */ fetch_texel_2d_rgb_fxt1, /* FetchTexel2D */ NULL, /*impossible*/ /* FetchTexel3D */ @@ -898,7 +898,7 @@ const struct gl_texture_format _mesa_texformat_rgba_fxt1 = { 0, /* IndexBits */ 0, /* DepthBits */ 0, /* TexelBytes */ - NULL, /* StoreTexImageFunc */ + _mesa_texstore_argb8888, /* StoreTexImageFunc */ NULL, /*impossible*/ /* FetchTexel1D */ fetch_texel_2d_rgba_fxt1, /* FetchTexel2D */ NULL, /*impossible*/ /* FetchTexel3D */ @@ -920,7 +920,7 @@ const struct gl_texture_format _mesa_texformat_rgb_dxt1 = { 0, /* IndexBits */ 0, /* DepthBits */ 0, /* TexelBytes */ - NULL, /* StoreTexImageFunc */ + _mesa_texstore_argb8888, /* StoreTexImageFunc */ NULL, /*impossible*/ /* FetchTexel1D */ fetch_texel_2d_rgb_dxt1, /* FetchTexel2D */ NULL, /*impossible*/ /* FetchTexel3D */ @@ -942,7 +942,7 @@ const struct gl_texture_format _mesa_texformat_rgba_dxt1 = { 0, /* IndexBits */ 0, /* DepthBits */ 0, /* TexelBytes */ - NULL, /* StoreTexImageFunc */ + _mesa_texstore_argb8888, /* StoreTexImageFunc */ NULL, /*impossible*/ /* FetchTexel1D */ fetch_texel_2d_rgba_dxt1, /* FetchTexel2D */ NULL, /*impossible*/ /* FetchTexel3D */ @@ -964,7 +964,7 @@ const struct gl_texture_format _mesa_texformat_rgba_dxt3 = { 0, /* IndexBits */ 0, /* DepthBits */ 0, /* TexelBytes */ - NULL, /* StoreTexImageFunc */ + _mesa_texstore_argb8888, /* StoreTexImageFunc */ NULL, /*impossible*/ /* FetchTexel1D */ fetch_texel_2d_rgba_dxt3, /* FetchTexel2D */ NULL, /*impossible*/ /* FetchTexel3D */ @@ -986,7 +986,7 @@ const struct gl_texture_format _mesa_texformat_rgba_dxt5 = { 0, /* IndexBits */ 0, /* DepthBits */ 0, /* TexelBytes */ - NULL, /* StoreTexImageFunc */ + _mesa_texstore_argb8888, /* StoreTexImageFunc */ NULL, /*impossible*/ /* FetchTexel1D */ fetch_texel_2d_rgba_dxt5, /* FetchTexel2D */ NULL, /*impossible*/ /* FetchTexel3D */ |