From 2a40f60e5ee7b354722721de6bca34ac6fd1644b Mon Sep 17 00:00:00 2001 From: Kondapally Kalyan Date: Sun, 16 Jun 2013 21:41:48 +0300 Subject: [PATCH] Fix enum values This patch changes the constants in PlatformSurface to power of two. These would be used for bit wise operations. --- Source/WebCore/platform/graphics/opengl/GLPlatformSurface.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/WebCore/platform/graphics/opengl/GLPlatformSurface.h b/Source/WebCore/platform/graphics/opengl/GLPlatformSurface.h index 03742e8..b4f6a60 100644 --- a/Source/WebCore/platform/graphics/opengl/GLPlatformSurface.h +++ b/Source/WebCore/platform/graphics/opengl/GLPlatformSurface.h @@ -46,10 +46,10 @@ public: Default = 0x00, // No Alpha channel. Only R,G,B values set. SupportAlpha = 0x01, SupportDepth = 0x02, - SupportStencil = 0x03, - SupportSamples = 0x04, - DoubleBuffered = 0x05, - Lockable = 0x06 + SupportStencil = 0x04, + SupportSamples = 0x08, + DoubleBuffered = 0x10, + Lockable = 0x20 }; typedef unsigned SurfaceAttributes; -- 2.7.4