aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_texstore.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-03 16:57:58 +0000
committerBrian Paul <[email protected]>2005-09-03 16:57:58 +0000
commitacafeeb6dce74382fb3a48b83ab72bf67b7581ea (patch)
tree63bae8571a6008628384d37514932bfd17c2f8d4 /src/mesa/swrast/s_texstore.c
parent54be0763e1c24091ba522139e899d0254143ba7d (diff)
Remove last remnants of pre-renderbuffer code.
Diffstat (limited to 'src/mesa/swrast/s_texstore.c')
-rw-r--r--src/mesa/swrast/s_texstore.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mesa/swrast/s_texstore.c b/src/mesa/swrast/s_texstore.c
index 24470a73580..68c8b376f8c 100644
--- a/src/mesa/swrast/s_texstore.c
+++ b/src/mesa/swrast/s_texstore.c
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 6.1
+ * Version: 6.5
*
- * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -71,9 +71,6 @@ read_color_image( GLcontext *ctx, GLint x, GLint y,
if (!image)
return NULL;
- /* Select buffer to read from */
- _swrast_use_read_buffer(ctx);
-
RENDER_START(swrast,ctx);
dst = image;
@@ -86,9 +83,6 @@ read_color_image( GLcontext *ctx, GLint x, GLint y,
RENDER_FINISH(swrast,ctx);
- /* Read from draw buffer (the default) */
- _swrast_use_draw_buffer(ctx);
-
return image;
}