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:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user