Advertise support for ANGLE_depth_texture

Trac #20875 Signed-off-by: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@1116 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 68145c6f
#define MAJOR_VERSION 1 #define MAJOR_VERSION 1
#define MINOR_VERSION 0 #define MINOR_VERSION 0
#define BUILD_VERSION 0 #define BUILD_VERSION 0
#define BUILD_REVISION 1083 #define BUILD_REVISION 1116
#define STRINGIFY(x) #x #define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x) #define MACRO_STRINGIFY(x) STRINGIFY(x)
......
...@@ -3759,6 +3759,11 @@ void Context::initExtensionString() ...@@ -3759,6 +3759,11 @@ void Context::initExtensionString()
mExtensionString += "GL_EXT_texture_storage "; mExtensionString += "GL_EXT_texture_storage ";
// ANGLE-specific extensions // ANGLE-specific extensions
if (supportsDepthTextures())
{
mExtensionString += "GL_ANGLE_depth_texture ";
}
mExtensionString += "GL_ANGLE_framebuffer_blit "; mExtensionString += "GL_ANGLE_framebuffer_blit ";
if (getMaxSupportedSamples() != 0) if (getMaxSupportedSamples() != 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment