aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-25 17:49:25 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-25 17:49:25 +0000
commitce7357df6aa2d73c6e74313af767db7b608fe0a5 (patch)
tree6936907ef22a9bafec77526e9c685ee63b259d7e
parentf13f58804659175925042a291304d483a4fd9278 (diff)
Add header needed to use the SWAP_PER_DRAW debug facility on windows.
git-svn-id: http://skia.googlecode.com/svn/trunk@4327 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--src/gpu/gl/GrGpuGL.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp
index 5b03500fc3..2662f8e0b5 100644
--- a/src/gpu/gl/GrGpuGL.cpp
+++ b/src/gpu/gl/GrGpuGL.cpp
@@ -1658,6 +1658,7 @@ GrGLenum gPrimitiveType2GLMode[] = {
#if GR_MAC_BUILD
#include <AGL/agl.h>
#elif GR_WIN32_BUILD
+ #include <gl/GL.h>
void SwapBuf() {
DWORD procID = GetCurrentProcessId();
HWND hwnd = GetTopWindow(GetDesktopWindow());