[gtk+] gl driver: Remove some type checks in a hot path
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gl driver: Remove some type checks in a hot path
- Date: Tue, 2 Jan 2018 07:07:12 +0000 (UTC)
commit d1a08aa2a917a907b27545f6195bbbc64a3587c9
Author: Timm Bäder <mail baedert org>
Date: Sat Dec 30 18:34:34 2017 +0100
gl driver: Remove some type checks in a hot path
gsk/gl/gskgldriver.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gsk/gl/gskgldriver.c b/gsk/gl/gskgldriver.c
index 4861657..6c05bf0 100644
--- a/gsk/gl/gskgldriver.c
+++ b/gsk/gl/gskgldriver.c
@@ -370,9 +370,6 @@ gsk_gl_driver_get_texture_for_texture (GskGLDriver *driver,
Texture *t;
cairo_surface_t *surface;
- g_return_val_if_fail (GSK_IS_GL_DRIVER (driver), -1);
- g_return_val_if_fail (GDK_IS_TEXTURE (texture), -1);
-
t = gdk_texture_get_render_data (texture, driver);
if (t)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]