Warning fixes for GCC 4.6.
This commit is contained in:
@ -239,10 +239,6 @@ void OpenGLWidget::mouseMoveEvent(QMouseEvent* event)
|
||||
m_LastFrameMousePos = m_CurrentMousePos;;
|
||||
}
|
||||
|
||||
void OpenGLWidget::wheelEvent(QWheelEvent* event)
|
||||
{
|
||||
}
|
||||
|
||||
void OpenGLWidget::setupProjectionMatrix(void)
|
||||
{
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
|
@ -49,7 +49,6 @@ class OpenGLWidget : public QGLWidget
|
||||
|
||||
void mouseMoveEvent(QMouseEvent* event);
|
||||
void mousePressEvent(QMouseEvent* event);
|
||||
void wheelEvent ( QWheelEvent * event );
|
||||
|
||||
protected:
|
||||
void initializeGL();
|
||||
|
@ -8844,7 +8844,7 @@ GLboolean glxewGetExtension (const char* name)
|
||||
GLuint len = _glewStrLen((const GLubyte*)name);
|
||||
/* if (glXQueryExtensionsString == NULL || glXGetCurrentDisplay == NULL) return GL_FALSE; */
|
||||
/* p = (GLubyte*)glXQueryExtensionsString(glXGetCurrentDisplay(), DefaultScreen(glXGetCurrentDisplay())); */
|
||||
if (glXGetClientString == NULL || glXGetCurrentDisplay == NULL) return GL_FALSE;
|
||||
if (glXGetCurrentDisplay == NULL) return GL_FALSE;
|
||||
p = (GLubyte*)glXGetClientString(glXGetCurrentDisplay(), GLX_EXTENSIONS);
|
||||
if (0 == p) return GL_FALSE;
|
||||
end = p + _glewStrLen(p);
|
||||
|
Reference in New Issue
Block a user