[clutter/wip/backend-next: 5/8] win32/backend: Remove ensure_context()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/wip/backend-next: 5/8] win32/backend: Remove ensure_context()
- Date: Fri, 4 Nov 2011 12:22:31 +0000 (UTC)
commit fa623228b73184c44151bd16f773397f9f0009c4
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Thu Nov 3 16:48:20 2011 +0000
win32/backend: Remove ensure_context()
We have a fallback, now.
clutter/win32/clutter-backend-win32.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/clutter/win32/clutter-backend-win32.c b/clutter/win32/clutter-backend-win32.c
index 3587c18..0444773 100644
--- a/clutter/win32/clutter-backend-win32.c
+++ b/clutter/win32/clutter-backend-win32.c
@@ -271,16 +271,6 @@ error:
return FALSE;
}
-static void
-clutter_backend_win32_ensure_context (ClutterBackend *backend,
- ClutterStage *stage)
-{
- ClutterStageWin32 *stage_win32 =
- CLUTTER_STAGE_WIN32 (_clutter_stage_get_window (stage));
-
- cogl_set_framebuffer (COGL_FRAMEBUFFER (stage_win32->onscreen));
-}
-
static ClutterStageWindow *
clutter_backend_win32_create_stage (ClutterBackend *backend,
ClutterStage *wrapper,
@@ -355,7 +345,6 @@ clutter_backend_win32_class_init (ClutterBackendWin32Class *klass)
backend_class->add_options = clutter_backend_win32_add_options;
backend_class->get_features = clutter_backend_win32_get_features;
backend_class->create_context = clutter_backend_win32_create_context;
- backend_class->ensure_context = clutter_backend_win32_ensure_context;
backend_class->get_device_manager = clutter_backend_win32_get_device_manager;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]