In GraphicsContext3DOpenGLCommon.cpp is used protected by #if !PLATFORM(IOS) && !(PLATFORM(WIN) && USE(OPENGL_ES_2)) but I don't think GL_MAX_VARYING_FLOATS is available when using GLES2 in any other platforms
(In reply to comment #0) > In GraphicsContext3DOpenGLCommon.cpp is used protected by > > #if !PLATFORM(IOS) && !(PLATFORM(WIN) && USE(OPENGL_ES_2)) > > but I don't think GL_MAX_VARYING_FLOATS is available when using GLES2 in any > other platforms PLATFORM(WIN) => (PLATFORM(WIN) || PLATFORM(GTK)) I guess.
(In reply to comment #1) > (In reply to comment #0) > > In GraphicsContext3DOpenGLCommon.cpp is used protected by > > > > #if !PLATFORM(IOS) && !(PLATFORM(WIN) && USE(OPENGL_ES_2)) > > > > but I don't think GL_MAX_VARYING_FLOATS is available when using GLES2 in any > > other platforms > > PLATFORM(WIN) => (PLATFORM(WIN) || PLATFORM(GTK)) I guess. Or simply #if !PLATFORM(IOS) && !USE(OPENGL_ES_2) ? or am I wrong assuming GL_MAX_VARYING_FLOATS is ot available in OpenGL ES 2?
I'll use PLATFORM(GTK) just in case to avoid breaking EFL
Created attachment 248325 [details] Patch
Committed r181323: <http://trac.webkit.org/changeset/181323>