]> git.jsancho.org Git - gacela.git/blobdiff - gacela_GL.lisp
(no commit message)
[gacela.git] / gacela_GL.lisp
index 4ab7c888146bb45338dbb8cdac19c64752605010..84e38d63cb6fb269e9548afaf7b41f002ff40e97 100644 (file)
@@ -61,6 +61,7 @@
 
 ;;; Buffers, Pixel Drawing/Reading
 (defconstant GL_RGB                           #x1907)
+(defconstant GL_RGBA                          #x1908)
 
 ;;; Hints
 (defconstant GL_PERSPECTIVE_CORRECTION_HINT   #x0C50)
@@ -79,6 +80,7 @@
 
 ;;; OpenGL 1.2
 (defconstant GL_BGR                           #x80E0)
+(defconstant GL_BGRA                          #x80E1)
 
 ;;; OpenGL Functions
 (defcfun "void gacela_glBegin (int mode)" 0
 (defcfun "void gacela_glTranslatef (float x, float y, float z)" 0
   "glTranslatef (x, y, z);")
 
+(defcfun "void gacela_glVertex2f (float x, float y)" 0
+  "glVertex2f (x, y);")
+
 (defcfun "void gacela_glVertex3f (float x, float y, float z)" 0
   "glVertex3f (x, y, z);")
 
 (defentry glRotatef (float float float float) (void "gacela_glRotatef"))
 (defentry glShadeModel (int) (void "gacela_glShadeModel"))
 (defentry glTranslatef (float float float) (void "gacela_glTranslatef"))
+(defentry glVertex2f (float float) (void "gacela_glVertex2f"))
 (defentry glVertex3f (float float float) (void "gacela_glVertex3f"))
 (defentry glViewport (int int int int) (void "gacela_glViewport"))
 (defentry glGenTextures (int) (object "gacela_glGenTextures"))