summaryrefslogtreecommitdiffstats
path: root/include/private/pixelflinger/ggl_context.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-02-16 21:01:12 -0800
committerMathias Agopian <mathias@google.com>2010-02-16 21:01:12 -0800
commitfa36f2c3b7707865867ce2b4710efeaeef993b1d (patch)
tree9656eee025053917dd3ed005ea68b2560b91d128 /include/private/pixelflinger/ggl_context.h
parent5dca8493452e5b443e58b3316c7128a1de612fc1 (diff)
downloadsystem_core-fa36f2c3b7707865867ce2b4710efeaeef993b1d.zip
system_core-fa36f2c3b7707865867ce2b4710efeaeef993b1d.tar.gz
system_core-fa36f2c3b7707865867ce2b4710efeaeef993b1d.tar.bz2
fix [2448319] out of bounds array index in fog
Diffstat (limited to 'include/private/pixelflinger/ggl_context.h')
-rw-r--r--include/private/pixelflinger/ggl_context.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/private/pixelflinger/ggl_context.h b/include/private/pixelflinger/ggl_context.h
index 8a36fa9..2d7fdcf 100644
--- a/include/private/pixelflinger/ggl_context.h
+++ b/include/private/pixelflinger/ggl_context.h
@@ -285,8 +285,7 @@ struct clear_state_t {
};
struct fog_state_t {
- uint8_t color[3];
- uint8_t reserved;
+ uint8_t color[4];
};
struct logic_op_state_t {