mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 11:15:31 +00:00
[352/906] fix typo
Change GST_GL_DISPLAY_PROJECTION_PERSPECIVE to GST_GL_DISPLAY_PROJECTION_PERSPECTIVE. Re-indent a couple of files that needed it.
This commit is contained in:
parent
f3fef483ec
commit
3fbe0f0a98
2 changed files with 3 additions and 3 deletions
|
@ -533,7 +533,7 @@ gst_gl_display_thread_create_context (GstGLDisplay * display)
|
||||||
|
|
||||||
display->gl_window =
|
display->gl_window =
|
||||||
gst_gl_window_new (display->upload_width, display->upload_height,
|
gst_gl_window_new (display->upload_width, display->upload_height,
|
||||||
display->external_gl_context);
|
display->external_gl_context);
|
||||||
|
|
||||||
if (!display->gl_window) {
|
if (!display->gl_window) {
|
||||||
display->isAlive = FALSE;
|
display->isAlive = FALSE;
|
||||||
|
@ -1601,7 +1601,7 @@ gst_gl_display_thread_use_fbo (GstGLDisplay * display)
|
||||||
gluOrtho2D (display->use_fbo_proj_param1, display->use_fbo_proj_param2,
|
gluOrtho2D (display->use_fbo_proj_param1, display->use_fbo_proj_param2,
|
||||||
display->use_fbo_proj_param3, display->use_fbo_proj_param4);
|
display->use_fbo_proj_param3, display->use_fbo_proj_param4);
|
||||||
break;
|
break;
|
||||||
case GST_GL_DISPLAY_PROJECTION_PERSPECIVE:
|
case GST_GL_DISPLAY_PROJECTION_PERSPECTIVE:
|
||||||
gluPerspective (display->use_fbo_proj_param1,
|
gluPerspective (display->use_fbo_proj_param1,
|
||||||
display->use_fbo_proj_param2, display->use_fbo_proj_param3,
|
display->use_fbo_proj_param2, display->use_fbo_proj_param3,
|
||||||
display->use_fbo_proj_param4);
|
display->use_fbo_proj_param4);
|
||||||
|
|
|
@ -55,7 +55,7 @@ typedef enum
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
GST_GL_DISPLAY_PROJECTION_ORTHO2D,
|
GST_GL_DISPLAY_PROJECTION_ORTHO2D,
|
||||||
GST_GL_DISPLAY_PROJECTION_PERSPECIVE
|
GST_GL_DISPLAY_PROJECTION_PERSPECTIVE
|
||||||
} GstGLDisplayProjection;
|
} GstGLDisplayProjection;
|
||||||
|
|
||||||
//Texture pool elements
|
//Texture pool elements
|
||||||
|
|
Loading…
Reference in a new issue