aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/buffers.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-04-19 00:23:08 +0000
committerBrian Paul <[email protected]>2002-04-19 00:23:08 +0000
commitdb07de057f10ab7ab5be84352b674b200a0a9e22 (patch)
tree5e28b5366a40b2a3b127526324f631eb79a6e55e /src/mesa/main/buffers.c
parent36c3df78f4592443de7c065b6d539f4c2914d870 (diff)
added some casts
Diffstat (limited to 'src/mesa/main/buffers.c')
-rw-r--r--src/mesa/main/buffers.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
index be793417d48..e1706c32553 100644
--- a/src/mesa/main/buffers.c
+++ b/src/mesa/main/buffers.c
@@ -1,4 +1,4 @@
-/* $Id: buffers.c,v 1.33 2002/03/16 00:53:15 brianp Exp $ */
+/* $Id: buffers.c,v 1.34 2002/04/19 00:23:08 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -373,8 +373,7 @@ _mesa_ResizeBuffersMESA( void )
(*ctx->Driver.GetBufferSize)( buffer, &buf_width, &buf_height );
/* see if size of device driver's color buffer (window) has changed */
- if (buffer->Width == (GLint) buf_width &&
- buffer->Height == (GLint) buf_height)
+ if (buffer->Width == buf_width && buffer->Height == buf_height)
return; /* size is as expected */
buffer->Width = buf_width;
@@ -391,8 +390,7 @@ _mesa_ResizeBuffersMESA( void )
(*ctx->Driver.GetBufferSize)( buffer, &buf_width, &buf_height );
/* see if size of device driver's color buffer (window) has changed */
- if (buffer->Width == (GLint) buf_width &&
- buffer->Height == (GLint) buf_height)
+ if (buffer->Width == buf_width && buffer->Height == buf_height)
return; /* size is as expected */
buffer->Width = buf_width;