summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/gl_common.c')
-rw-r--r--libvo/gl_common.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c
index 950eb726f0..bb351f90d6 100644
--- a/libvo/gl_common.c
+++ b/libvo/gl_common.c
@@ -46,7 +46,7 @@
void (APIENTRY *GenBuffers)(GLsizei, GLuint *);
void (APIENTRY *DeleteBuffers)(GLsizei, const GLuint *);
void (APIENTRY *BindBuffer)(GLenum, GLuint);
-GLvoid* (APIENTRY *MapBuffer)(GLenum, GLenum);
+GLvoid* (APIENTRY *MapBuffer)(GLenum, GLenum);
GLboolean (APIENTRY *UnmapBuffer)(GLenum);
void (APIENTRY *BufferData)(GLenum, intptr_t, const GLvoid *, GLenum);
void (APIENTRY *CombinerParameterfv)(GLenum, const GLfloat *);
@@ -193,7 +193,7 @@ int glFindFormat(uint32_t fmt, int *bpp, GLint *gl_texfmt,
if (!gl_texfmt) gl_texfmt = &dummy3;
if (!gl_format) gl_format = &dummy2;
if (!gl_type) gl_type = &dummy2;
-
+
*bpp = IMGFMT_IS_BGR(fmt)?IMGFMT_BGR_DEPTH(fmt):IMGFMT_RGB_DEPTH(fmt);
*gl_texfmt = 3;
switch (fmt) {
@@ -1441,7 +1441,7 @@ void glDrawTex(GLfloat x, GLfloat y, GLfloat w, GLfloat h,
#ifdef GL_WIN32
#include "w32_common.h"
/**
- * \brief little helper since wglGetProcAddress definition does not fit our
+ * \brief little helper since wglGetProcAddress definition does not fit our
* getProcAddress
* \param procName name of function to look up
* \return function pointer returned by wglGetProcAddress
@@ -1662,4 +1662,3 @@ void swapGlBuffers(void) {
glXSwapBuffers(mDisplay, vo_window);
}
#endif
-