DEADSOFTWARE

add glGetError to nogl
[d2df-sdl.git] / src / nogl / noGLSTUB.inc
index dc01c71a3328906124ac3d877d3e280312c6787b..5fa0e47d7539c8245c4135873f315cc691cd41b6 100644 (file)
@@ -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