Fixed warnings about ErrorCallback() hidding BGLView method. Should works as expected now. Plus, no more warnings. Yeah.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37791 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2010-07-28 15:24:12 +00:00
parent 8b39afead5
commit 1c6a53c07c
2 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -866,7 +866,7 @@ void GlutWindow::Pulse()
*
* DESCRIPTION: handles GL error messages
***********************************************************/
void GlutWindow::ErrorCallback(GLenum errorCode) {
void GlutWindow::ErrorCallback(unsigned long errorCode) {
__glutWarning("GL error: %s", gluErrorString(errorCode));
}
+1 -1
View File
@@ -31,7 +31,7 @@ public:
void Draw(BRect updateRect);
void Pulse(); // needed since MouseUp() is broken
void MouseCheck(); // check for button state changes
void ErrorCallback(GLenum errorCode);
void ErrorCallback(unsigned long errorCode);
static long MenuThread(void *menu);