summaryrefslogtreecommitdiffstats
path: root/opengl/libagl/light.h
diff options
context:
space:
mode:
Diffstat (limited to 'opengl/libagl/light.h')
-rw-r--r--opengl/libagl/light.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/opengl/libagl/light.h b/opengl/libagl/light.h
index 6dae25f..39e3309 100644
--- a/opengl/libagl/light.h
+++ b/opengl/libagl/light.h
@@ -22,6 +22,13 @@
#include <stddef.h>
#include <sys/types.h>
+
+// Set to 1 for object-space lighting evaluation.
+// There are still some bugs with object-space lighting,
+// especially visible in the San Angeles demo.
+#define OBJECT_SPACE_LIGHTING 0
+
+
namespace android {
namespace gl {