Show
Ignore:
Timestamp:
04/21/10 18:37:28 (4 years ago)
Author:
robert
Message:

From Mourad Boufarguine, "When compiling the example on VS9, the compiler complain about undefined GL_DEPTH_COMPONENT32F and GL_DEPTH_COMPONENT32F_NV. So I added them to include/osg/FrameBufferObject. The example builds fine and is working for me without crashs unless it is ran whithout argument. I added couple of lines to check for arguments number and print the example usage when needed."

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/FrameBufferObject

    r11339 r11355  
    119119#endif 
    120120 
     121#ifndef GL_DEPTH_COMPONENT32F 
     122#define GL_DEPTH_COMPONENT32F             0x8CAC 
     123#endif 
     124 
     125#ifndef GL_DEPTH_COMPONENT32F_NV 
     126#define GL_DEPTH_COMPONENT32F_NV          0x8DAB 
     127#endif 
     128 
    121129#ifndef GL_EXT_packed_depth_stencil 
    122130#define GL_EXT_packed_depth_stencil 1