在编译Opengl es 3.0测试例子的时候出现的一个错误,在google上面找到了,记录下来希望其他朋友遇到知道怎么解决。
我的编译环境是:
Windows 7 64bit
vs2015 64位
下面的英文是关于英伟达的一些说明,这个GL_ARB_texture_query_lod是一个宏定义,出现这个错误的原因是你电脑上的显卡驱动太旧了或者不支持opengl es 3.0中的一些API等。解决办法:更新或重装一下你的显卡驱动
Name ARB_texture_query_lod Name Strings GL_ARB_texture_query_lod Contact Eric Werness, NVIDIA Corporation (ewerness 'at' nvidia.com) Pat Brown, NVIDIA Corporation (pbrown 'at' nvidia.com) Contributors Pat Brown, NVIDIA Greg Roth, NVIDIA Eric Werness, NVIDIA Notice Copyright (c) 2009-2013 The Khronos Group Inc. Copyright terms at http://www.khronos.org/registry/speccopyright.html Status Complete. Approved by the ARB on July 3, 2009. Version Last Modified Date: 04/10/2013 Revision: 7 Number ARB Extension #73 Dependencies OpenGL 2.0 is required. OpenGL Shading Language 1.30 is required EXT_gpu_shader4 is required. EXT_texture_array is required. This extension interacts trivially with ARB_texture_cube_map_array This extension is written against the OpenGL 2.0 specification and version 1.30 of the OpenGL Shading Language Specification. Overview This extension provides a new set of fragment shader texture functions (textureLOD) that return the results of automatic level-of-detail computations that would be performed if a texture lookup were performed. New Procedures and Functions None. New Tokens None. Additions to Chapter 2 of the OpenGL 2.0 Specification (OpenGL Operation) None. Additions to Chapter 3 of the