Chromium Code Reviews| Index: tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp |
| diff --git a/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp b/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp |
| index 64d828f69613fd88b9ce39790ef1286f52cc9d5a..7339e4147047232cecc58d9ec992037f052de362 100644 |
| --- a/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp |
| +++ b/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.cpp |
| @@ -14,8 +14,6 @@ |
| #include "../ports/SkOSEnvironment.h" |
| #include "../ports/SkOSLibrary.h" |
| -#if defined SK_BUILD_FOR_MAC |
| - |
| // EGL doesn't exist on the mac, so expose what we need to get the command buffer's EGL running. |
|
bsalomon
2016/09/21 19:39:22
rm comment?
mtklein_C
2016/09/21 19:40:21
done
|
| typedef void *EGLDisplay; |
| typedef unsigned int EGLBoolean; |
| @@ -48,12 +46,6 @@ typedef void (*__eglMustCastToProperFunctionPointerType)(void); |
| #define EGL_WIDTH 0x3057 |
| #define EGL_HEIGHT 0x3056 |
| -#else |
| - |
| -#include <EGL/egl.h> |
| - |
| -#endif |
| - |
| typedef EGLDisplay (*GetDisplayProc)(EGLNativeDisplayType display_id); |
| typedef EGLBoolean (*InitializeProc)(EGLDisplay dpy, EGLint *major, EGLint *minor); |
| typedef EGLBoolean (*TerminateProc)(EGLDisplay dpy); |