Bug 968469 - Add check for ARB_half_float_pixel to GLFeature::texture_half_float. r=kamidphish

This commit is contained in:
Jeff Gilbert 2014-02-10 18:03:12 -05:00
parent 00ef0132bd
commit 4f514cfdc6
3 changed files with 3 additions and 0 deletions

View File

@ -130,6 +130,7 @@ static const char *sExtensionNames[] = {
"GL_ARB_framebuffer_sRGB",
"GL_EXT_framebuffer_sRGB",
"GL_KHR_debug",
"GL_ARB_half_float_pixel",
nullptr
};

View File

@ -406,6 +406,7 @@ public:
ARB_framebuffer_sRGB,
EXT_framebuffer_sRGB,
KHR_debug,
ARB_half_float_pixel,
Extensions_Max,
Extensions_End
};

View File

@ -296,6 +296,7 @@ static const FeatureInfo sFeatureInfoArr[] = {
310, // OpenGL version
300, // OpenGL ES version
{
GLContext::ARB_half_float_pixel,
GLContext::ARB_texture_float,
GLContext::NV_half_float,
GLContext::Extensions_End