Hello,
I am trying to set up a FBO for use in powerbasic. For some reason these functions are not being found.
SUB initFrameBufferDepthBuffer()
glGenRenderbuffersEXT(1, fbo_depth) 'Generate one render buffer and store the ID in fbo_depth
glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, fbo_depth) 'Bind the fbo_depth RENDER buffer
glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT, window_width, window_height)' Set the render buffer storage to be a depth component, with a width and height of the window
glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, GL_RENDERBUFFER_EXT, fbo_depth)'Set the render buffer of this buffer to the depth buffer
glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, 0)'Unbind the render buffer
END SUB
any idea as to why? or where I can find the .inc files for their use?
Anyone know where files can be forun to use GLEW and GUT in Powerbasic?
as always, thank you for your help.
Ron
Ron