summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_surface.c
diff options
context:
space:
mode:
authorMichal <[email protected]>2007-11-17 14:26:24 +0000
committerJosé Fonseca <[email protected]>2007-11-22 11:18:02 +0000
commit5961732c1b59403b4e736fa354a64d4a0e5d8af2 (patch)
tree2b2e7ca173417f9a924079ec9849ad889acbfce4 /src/mesa/pipe/i915simple/i915_surface.c
parent4541ee5343df7c3ca937e088a85ec3f62970d318 (diff)
Make it compile under Win32.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_surface.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_surface.c b/src/mesa/pipe/i915simple/i915_surface.c
index afe15fb525d..bec7ddb7319 100644
--- a/src/mesa/pipe/i915simple/i915_surface.c
+++ b/src/mesa/pipe/i915simple/i915_surface.c
@@ -81,7 +81,7 @@ i915_get_tile_rgba(struct pipe_context *pipe,
break;
case PIPE_FORMAT_S8_Z24:
{
- const float scale = 1.0 / (float) 0xffffff;
+ const float scale = 1.0f / (float) 0xffffff;
for (i = 0; i < h; i++) {
float *pRow = p;
for (j = 0; j < w; j++) {