Ignore:
Timestamp:
Feb 29, 2000, 2:56:52 PM (26 years ago)
Author:
sandervl
Message:

compile fixes

Location:
trunk/src/opengl/glu/nurbs
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/glu/nurbs/interface/glinterface.cpp

    r2689 r2945  
    1 /* $Id: glinterface.cpp,v 1.1 2000-02-09 08:49:01 jeroen Exp $ */
     1/* $Id: glinterface.cpp,v 1.2 2000-02-29 13:56:48 sandervl Exp $ */
    22/*
    33** License Applicability. Except to the extent portions of this file are
     
    3333** compliant with the OpenGL(R) version 1.2.1 Specification.
    3434**
    35 ** $Date: 2000-02-09 08:49:01 $ $Revision: 1.1 $
     35** $Date: 2000-02-29 13:56:48 $ $Revision: 1.2 $
    3636*/
    3737/*
    38 ** $Header: /home/ktk/tmp/odin/2007/netlabs.cvs/odin32/src/opengl/glu/nurbs/interface/glinterface.cpp,v 1.1 2000-02-09 08:49:01 jeroen Exp $
     38** $Header: /home/ktk/tmp/odin/2007/netlabs.cvs/odin32/src/opengl/glu/nurbs/interface/glinterface.cpp,v 1.2 2000-02-29 13:56:48 sandervl Exp $
    3939*/
    4040
     
    430430}
    431431
    432 extern "C" void GLAPI
    433 gluNurbsCallback(GLUnurbs *r, GLenum which, GLvoid (*fn)())
     432GLUAPI void GLAPIENTRY gluNurbsCallback( GLUnurbsObj *nobj, GLenum which,
     433                                         void (GLCALLBACK *fn)() )
    434434{
    435435    switch (which) {
     
    446446    case GLU_NURBS_TEXTURE_COORD_DATA:
    447447    case GLU_NURBS_COLOR_DATA:
    448 #ifdef __WIN32OS2__
    449         r->putSurfCallBack(which, (GLvoid (* WIN32API)(...))fn);
    450 #else
    451         r->putSurfCallBack(which, (GLvoid (*)(...))fn);
    452 #endif
     448        nobj->putSurfCallBack(which, (GLvoid (*)(...))fn);
    453449        break;
    454450
    455451    case GLU_NURBS_ERROR:
    456 #ifdef __WIN32OS2__
    457         r->errorCallback = (void (* WIN32API)( GLenum )) fn;
    458 #else
    459         r->errorCallback = (void (*)( GLenum )) fn;
    460 #endif
     452        nobj->errorCallback = (void (*)( GLenum )) fn;
    461453        break;
    462454    default:
    463         r->postError(GLU_INVALID_ENUM);
     455        nobj->postError(GLU_INVALID_ENUM);
    464456        return;
    465457    }
  • trunk/src/opengl/glu/nurbs/interface/makefile

    r2709 r2945  
    1 # $Id: makefile,v 1.2 2000-02-09 23:40:51 bird Exp $
     1# $Id: makefile,v 1.3 2000-02-29 13:56:49 sandervl Exp $
    22#
    33# PD-Win32 API
     
    1414!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1515
    16 CINCLUDE=-I..\.. -I..\internals -I..\nurbtess -I..\..\..\mesa -I$(PDWIN32_INCLUDE) -I..\..\include
     16CINCLUDE=-I..\..\..\mesa\GL -I..\.. -I..\internals -I..\nurbtess -I$(PDWIN32_INCLUDE) -I..\..\include  -I..\..\..\mesa
    1717
    1818CFLAGS = $(CFLAGS) $(CINCLUDE)  -DNDEBUG
     
    2828dep:
    2929    $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc \
    30         ..\internals\*.h ..\nurbtess\*.h ..\..\..\mesa\*.h
     30        ..\internals\*.h ..\nurbtess\*.h ..\..\..\mesa\GL\*.h
    3131
    3232!ifndef NODEP
  • trunk/src/opengl/glu/nurbs/internals/makefile

    r2709 r2945  
    1 # $Id: makefile,v 1.2 2000-02-09 23:40:51 bird Exp $
     1# $Id: makefile,v 1.3 2000-02-29 13:56:49 sandervl Exp $
    22
    33#
     
    1515!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1616
    17 CINCLUDE=-I..\internals -I..\nurbtess -I..\..\..\mesa -I..\..\include -I$(PDWIN32_INCLUDE)
     17CINCLUDE=-I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I..\..\include -I$(PDWIN32_INCLUDE)
    1818CDEFS=-DSTANDALONE -DLIBRARYBUILD -DNDEBUG
    1919
     
    3737dep:
    3838    $(DEPEND) $(CINCLUDE) *.c *.cpp *.h *.asm *.inc  \
    39         ..\nurbtess\*.h ..\..\..\mesa\*.h ..\..\include\*.h
     39        ..\nurbtess\*.h ..\..\..\mesa\GL\*.h ..\..\include\*.h
    4040
    4141!ifndef NODEP
  • trunk/src/opengl/glu/nurbs/nurbtess/makefile

    r2709 r2945  
    1 # $Id: makefile,v 1.2 2000-02-09 23:40:51 bird Exp $
     1# $Id: makefile,v 1.3 2000-02-29 13:56:49 sandervl Exp $
    22
    33#
     
    1616
    1717
    18 CINCLUDE=-I..\internals -I..\nurbtess -I..\..\..\mesa -I$(PDWIN32_INCLUDE) -I..\..\include
     18CINCLUDE=-I..\internals -I..\nurbtess -I..\..\..\mesa\GL -I$(PDWIN32_INCLUDE) -I..\..\include
    1919
    2020CFLAGS = $(CFLAGS) $(CINCLUDE) -DNDEBUG
Note: See TracChangeset for help on using the changeset viewer.