projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77311da
)
glsl: Remove comma at end of enumerator list.
author
Vinson Lee
<vlee@freedesktop.org>
Thu, 18 Jul 2013 03:51:50 +0000
(20:51 -0700)
committer
Vinson Lee
<vlee@freedesktop.org>
Thu, 18 Jul 2013 03:57:54 +0000
(20:57 -0700)
Fixes this build error on OpenBSD 5.3.
In file included from ../../src/mesa/main/ff_fragment_shader.cpp:53:
./../glsl/ir_optimization.h:64: error: comma at end of enumerator list
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
src/glsl/ir_optimization.h
patch
|
blob
|
history
diff --git
a/src/glsl/ir_optimization.h
b/src/glsl/ir_optimization.h
index fad6f1bfe5f89dfa1245efa23f51427f29213175..2c1479ff4f98d4e436996b106a03eb8efa144b9f 100644
(file)
--- a/
src/glsl/ir_optimization.h
+++ b/
src/glsl/ir_optimization.h
@@
-61,7
+61,7
@@
enum lower_packing_builtins_op {
LOWER_UNPACK_SNORM_4x8 = 0x0200,
LOWER_PACK_UNORM_4x8 = 0x0400,
- LOWER_UNPACK_UNORM_4x8 = 0x0800
,
+ LOWER_UNPACK_UNORM_4x8 = 0x0800
};
bool do_common_optimization(exec_list *ir, bool linked,