summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/depth.c
diff options
context:
space:
mode:
authorKarl Schultz <[email protected]>2003-08-30 14:45:04 +0000
committerKarl Schultz <[email protected]>2003-08-30 14:45:04 +0000
commitdc24230de7f913969b52dee3579bb8fa3d50a8c0 (patch)
tree721e30477f9c529d562fa4bd2b71e465b4ed7fd0 /src/mesa/main/depth.c
parentd12a871b21adee531661f4cf6561d2ffda685359 (diff)
Silence compiler warnings about implicit casts or conversions by supplying explicit casts and/or tweaking constant and variable definitions.
Diffstat (limited to 'src/mesa/main/depth.c')
-rw-r--r--src/mesa/main/depth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c
index 32c61622f7a..1e07607c463 100644
--- a/src/mesa/main/depth.c
+++ b/src/mesa/main/depth.c
@@ -137,8 +137,8 @@ _mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax )
return;
FLUSH_VERTICES(ctx, _NEW_DEPTH);
- ctx->Depth.BoundsMin = zmin;
- ctx->Depth.BoundsMax = zmax;
+ ctx->Depth.BoundsMin = (GLfloat) zmin;
+ ctx->Depth.BoundsMax = (GLfloat) zmax;
}