X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fnogl%2FnoGLSTUB.inc;h=5fa0e47d7539c8245c4135873f315cc691cd41b6;hb=22ca1e0dc52e2d8cb036df948aec0481008eff8d;hp=dc01c71a3328906124ac3d877d3e280312c6787b;hpb=d63e6eaaecbc83b40c9b932b3381fc324f6a2461;p=d2df-sdl.git diff --git a/src/nogl/noGLSTUB.inc b/src/nogl/noGLSTUB.inc index dc01c71..5fa0e47 100644 --- a/src/nogl/noGLSTUB.inc +++ b/src/nogl/noGLSTUB.inc @@ -18,6 +18,11 @@ implementation result := '' end; + function glGetError: GLenum; + begin + result := GL_NO_ERROR + end; + procedure glClearColor(red, green, blue, alpha: GLclampf); begin end; @@ -182,6 +187,47 @@ implementation begin end; + procedure glGenFramebuffers(n: GLsizei; framebuffers: PGLuint); + begin + end; + + procedure glBindFramebuffer(target: GLenum; framebuffer: GLuint); + begin + end; + + procedure glFramebufferTexture2D(target, attachment, textarget: GLenum; texture: GLuint; level: GLint); + begin + end; + + procedure glFramebufferRenderbuffer(target, attachment, rbotarget: GLenum; rbo: GLuint); + begin + end; + + function glCheckFramebufferStatus(framebuffer: GLuint): GLenum; + begin + result := GL_FRAMEBUFFER_UNSUPPORTED + end; + + procedure glDeleteFramebuffers(n: GLsizei; const framebuffers: PGLuint); + begin + end; + + procedure glGenRenderbuffers(n: GLsizei; renderbuffers: PGLuint); + begin + end; + + procedure glBindRenderbuffer(target: GLenum; renderbuffer: GLuint); + begin + end; + + procedure glRenderbufferStorage(target, internalformat: GLenum; w, h: GLsizei); + begin + end; + + procedure glDeleteRenderbuffers(n: GLsizei; const renderbuffers: PGLuint); + begin + end; + procedure nogl_Init; begin end; @@ -190,4 +236,9 @@ implementation begin end; + function nogl_ExtensionSupported(ext: string): Boolean; + begin + result := false; + end; + initialization