summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gl_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/gl_utils.h')
-rw-r--r--gpu/command_buffer/service/gl_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gl_utils.h b/gpu/command_buffer/service/gl_utils.h
index 432dfb4..943681c 100644
--- a/gpu/command_buffer/service/gl_utils.h
+++ b/gpu/command_buffer/service/gl_utils.h
@@ -12,6 +12,9 @@
#if defined(UNIT_TEST)
#include "gpu/command_buffer/service/gl_mock.h"
+ #if !defined(GL_VERTEX_PROGRAM_POINT_SIZE)
+ #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
+ #endif
#else
#if defined(GLES2_GPU_SERVICE_BACKEND_NATIVE_GLES2)
#include <GLES2/gl2.h> // NOLINT