diff options
Diffstat (limited to 'Source/WebCore/html/canvas/WebGLTexture.cpp')
-rw-r--r-- | Source/WebCore/html/canvas/WebGLTexture.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/html/canvas/WebGLTexture.cpp b/Source/WebCore/html/canvas/WebGLTexture.cpp index a57500f..e8e8bf8 100644 --- a/Source/WebCore/html/canvas/WebGLTexture.cpp +++ b/Source/WebCore/html/canvas/WebGLTexture.cpp @@ -25,7 +25,7 @@ #include "config.h" -#if ENABLE(3D_CANVAS) +#if ENABLE(WEBGL) #include "WebGLTexture.h" @@ -33,7 +33,7 @@ #include "WebGLRenderingContext.h" namespace WebCore { - + PassRefPtr<WebGLTexture> WebGLTexture::create(WebGLRenderingContext* ctx) { return adoptRef(new WebGLTexture(ctx)); @@ -353,4 +353,4 @@ const WebGLTexture::LevelInfo* WebGLTexture::getLevelInfo(GC3Denum target, GC3Di } -#endif // ENABLE(3D_CANVAS) +#endif // ENABLE(WEBGL) |