Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 4.6.0-rc1
-
Windows 10 1709 64 bit
MSVC2015 64 bit
Description
- Open the OpenGLWindow example from Qt's repository.
It's in qtbase\examples\gui\openglwindow\openglwindow.pro - Open main.cpp.
- Go to the line:
glVertexAttribPointer(m_posAttr, 2, GL_FLOAT, GL_FALSE, 0, vertices);
It should be around line 165.
- Right-click on "GL_FALSE" and select "Find Usages" from the context menu.
In the search results, there will be the line/* GL_COLOR_BUFFER_BIT */
from C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\gl\GL.h (or similar).
- Double-click this search result.
GL.h will open at the line#define GL_FALSE 0
The line is found correctly but the wrong line is displayed in the search results. They should display the actual line.
Found when updating Squish-Suite CSUP.