summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstore.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-07-15 11:15:27 +0200
committerKeith Whitwell <[email protected]>2008-09-21 22:13:57 -0700
commit9614eac85df028bbb77a5073f2f1839bdaa308a0 (patch)
tree689a3bf32bebec1ab408213e3b8021bef2b9c3d8 /src/mesa/main/texstore.c
parentce1685ce947545fac8c254cafdc0f133b6202ca9 (diff)
mesa: Silence compiler warnings on Windows.
Diffstat (limited to 'src/mesa/main/texstore.c')
-rw-r--r--src/mesa/main/texstore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index e4229807ef1..79ef8813ca6 100644
--- a/src/mesa/main/texstore.c
+++ b/src/mesa/main/texstore.c
@@ -2439,7 +2439,7 @@ _mesa_texstore_z24_s8(TEXSTORE_PARAMS)
_mesa_unpack_depth_span(ctx, srcWidth,
GL_UNSIGNED_INT_24_8_EXT, /* dst type */
dstRow, /* dst addr */
- depthScale,
+ (GLuint) depthScale,
srcType, src, srcPacking);
/* get the 8-bit stencil values */
_mesa_unpack_stencil_span(ctx, srcWidth,