Changeset 2945 for trunk/src/opengl/glu


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

compile fixes

Location:
trunk/src/opengl/glu
Files:
1 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/opengl/glu/include/gluos.h

    r2689 r2945  
    1 /* $Id: gluos.h,v 1.1 2000-02-09 08:50:55 jeroen Exp $ */
     1/* $Id: gluos.h,v 1.2 2000-02-29 13:56:48 sandervl Exp $ */
    22/*
    33** gluos.h - operating system dependencies for GLU
    44**
    5 ** $Header: /home/ktk/tmp/odin/2007/netlabs.cvs/odin32/src/opengl/glu/include/gluos.h,v 1.1 2000-02-09 08:50:55 jeroen Exp $*/
     5** $Header: /home/ktk/tmp/odin/2007/netlabs.cvs/odin32/src/opengl/glu/include/gluos.h,v 1.2 2000-02-29 13:56:48 sandervl Exp $*/
    66
    77#if defined(_WIN32)
     
    1919#else
    2020#if defined(__WIN32OS2__)
    21 #include <os2win.h>
    22 #define GLAPI WIN32API
     21#include <windows.h>
    2322#else
    2423/* Disable Microsoft-specific keywords */
  • trunk/src/opengl/glu/makefile

    r2730 r2945  
    1 # $Id: makefile,v 1.9 2000-02-10 01:19:17 bird Exp $
     1# $Id: makefile,v 1.10 2000-02-29 13:56:48 sandervl Exp $
    22
    33#
     
    2626!endif
    2727
    28 CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE)
    29 CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)
     28CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE) -I..\mesa\GL
     29CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE) -I..\mesa\GL
    3030
    3131TARGET = GLU32
     
    354354
    355355dep:
    356     $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
     356    $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win -I..\mesa\GL \
    357357    *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
    358358    cd util
  • 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
  • trunk/src/opengl/glu/tess/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:50 sandervl Exp $
    22#
    33# PD-Win32 API
     
    1414!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1515
    16 CINCLUDE=-I.. -I..\..\mesa -I$(PDWIN32_INCLUDE) -I..\include
     16CINCLUDE=-I.. -I..\..\mesa -I$(PDWIN32_INCLUDE) -I..\include -I..\..\mesa\GL
    1717CDEFS=-DNDEBUG -Tdp
    1818
  • trunk/src/opengl/glu/util/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:50 sandervl Exp $
    22#
    33# PD-Win32 API
     
    1414!include $(PDWIN32_INCLUDE)/pdwin32.mk
    1515
    16 CINCLUDE=-I.. -I..\..\mesa -I$(PDWIN32_INCLUDE) -I..\include
     16CINCLUDE=-I.. -I..\..\mesa -I$(PDWIN32_INCLUDE) -I..\include -I..\..\mesa\GL
    1717
    1818CFLAGS = $(CFLAGS) $(CINCLUDE) -Tdp -DNDEBUG
  • trunk/src/opengl/glu/util/project.c

    r2689 r2945  
    1 /* $Id: project.c,v 1.1 2000-02-09 08:47:14 jeroen Exp $ */
     1/* $Id: project.c,v 1.2 2000-02-29 13:56:50 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:47:14 $ $Revision: 1.1 $
    36 ** $Header: /home/ktk/tmp/odin/2007/netlabs.cvs/odin32/src/opengl/glu/util/project.c,v 1.1 2000-02-09 08:47:14 jeroen Exp $
     35** $Date: 2000-02-29 13:56:50 $ $Revision: 1.2 $
     36** $Header: /home/ktk/tmp/odin/2007/netlabs.cvs/odin32/src/opengl/glu/util/project.c,v 1.2 2000-02-29 13:56:50 sandervl Exp $
    3737*/
    3838
     
    367367}
    368368
    369 void GLAPI
    370 gluPickMatrix(GLdouble x, GLdouble y, GLdouble deltax, GLdouble deltay,
    371                   GLint viewport[4])
     369GLUAPI void GLAPIENTRY gluPickMatrix(GLdouble x, GLdouble y, GLdouble deltax, GLdouble deltay,
     370                                     const GLint viewport[4])
    372371{
    373372    if (deltax <= 0 || deltay <= 0) {
Note: See TracChangeset for help on using the changeset viewer.