summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_texture.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-12-06 11:30:34 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2007-12-06 11:30:34 +0100
commit987d59bb83e9e08192563e5f1b52949c5511053c (patch)
tree07e07cf1d263e9c4fb8a975d88988aaa7e596bdd /src/mesa/state_tracker/st_cb_texture.c
parentd492b388c96d98825ce9c6a9567ad83b3dee14b9 (diff)
Remove remnants of 'intel' from active state tracker code.
Diffstat (limited to 'src/mesa/state_tracker/st_cb_texture.c')
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index f45d7e4275..acc97df2e7 100644
--- a/src/mesa/state_tracker/st_cb_texture.c
+++ b/src/mesa/state_tracker/st_cb_texture.c
@@ -656,7 +656,7 @@ st_TexImage(GLcontext * ctx,
#endif
- /* intelCopyTexImage calls this function with pixels == NULL, with
+ /* st_CopyTexImage calls this function with pixels == NULL, with
* the expectation that the texture will be set up but nothing
* more will be done. This is where those calls return:
*/
@@ -820,9 +820,6 @@ st_get_tex_image(GLcontext * ctx, GLenum target, GLint level,
struct gl_texture_object *texObj,
struct gl_texture_image *texImage, int compressed)
{
- /*
- struct intel_context *intel = intel_context(ctx);
- */
struct st_texture_image *stImage = st_texture_image(texImage);
GLuint dstImageStride = _mesa_image_image_stride(&ctx->Pack, texImage->Width,
texImage->Height, format,
@@ -947,7 +944,7 @@ st_TexSubimage(GLcontext * ctx,
texImage->ImageOffsets,
width, height, 1,
format, type, pixels, packing)) {
- _mesa_error(ctx, GL_OUT_OF_MEMORY, "intelTexSubImage");
+ _mesa_error(ctx, GL_OUT_OF_MEMORY, "st_TexSubImage");
}
if (stImage->pt && i < depth) {