diff options
author | Benjamin Otte <otte@redhat.com> | 2023-04-25 21:45:31 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2023-04-27 02:13:32 +0200 |
commit | 5f833f1d31c7a1699a997d73c1c5be6e2ad5b08d (patch) | |
tree | 0357a2d326972e1c4e6d7363a7ebeb66773f45ec /gdk/gdkglcontextprivate.h | |
parent | b8958419e657058ac705968c5e1a733013af5dcd (diff) | |
download | gtk+-5f833f1d31c7a1699a997d73c1c5be6e2ad5b08d.tar.gz |
glcontext: Compute matching version the simple way
Do it all in one function instead of requiring two different ones.
Diffstat (limited to 'gdk/gdkglcontextprivate.h')
-rw-r--r-- | gdk/gdkglcontextprivate.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdk/gdkglcontextprivate.h b/gdk/gdkglcontextprivate.h index 24809f88ef..2c23153992 100644 --- a/gdk/gdkglcontextprivate.h +++ b/gdk/gdkglcontextprivate.h @@ -120,10 +120,8 @@ gdk_gl_context_check_version (GdkGLContext *context, gles_version ? &GDK_GL_VERSION_STRING (gles_version) : NULL); } -void gdk_gl_context_get_clipped_version (GdkGLContext *context, - const GdkGLVersion *min_version, - GdkGLVersion *out_clipped); -void gdk_gl_context_get_matching_version (GdkGLAPI api, +void gdk_gl_context_get_matching_version (GdkGLContext *context, + GdkGLAPI api, gboolean legacy, GdkGLVersion *out_version); |