summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2006-11-01 16:21:14 +0000
committerJerome Glisse <[email protected]>2006-11-01 16:21:14 +0000
commit361d137587d1b7a6a18ddc33c7862ff5e6ddd648 (patch)
treef7178ffef004abb59933a4674b6c2dbf6b4efddf /src/mesa
parent8d87196c12fc9ec8886f5b590f4cfb3c7c1b28aa (diff)
Correct a little bug, radeon->glCtx is a pointer.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_state.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_state.c b/src/mesa/drivers/dri/radeon/radeon_state.c
index 86d8c4d963b..216d7dca174 100644
--- a/src/mesa/drivers/dri/radeon/radeon_state.c
+++ b/src/mesa/drivers/dri/radeon/radeon_state.c
@@ -40,6 +40,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "light.h"
#include "state.h"
#include "context.h"
+#include "framebuffer.h"
#include "array_cache/acache.h"
#include "tnl/tnl.h"
@@ -1660,14 +1661,14 @@ void radeonSetCliprects( radeonContextPtr rmesa )
}
if ((draw_fb->Width != drawable->w) || (draw_fb->Height != drawable->h)) {
- _mesa_resize_framebuffer(&rmesa->glCtx, draw_fb,
+ _mesa_resize_framebuffer(rmesa->glCtx, draw_fb,
drawable->w, drawable->h);
draw_fb->Initialized = GL_TRUE;
}
if (drawable != readable) {
if ((read_fb->Width != readable->w) || (read_fb->Height != readable->h)) {
- _mesa_resize_framebuffer(&rmesa->glCtx, read_fb,
+ _mesa_resize_framebuffer(rmesa->glCtx, read_fb,
readable->w, readable->h);
read_fb->Initialized = GL_TRUE;
}