aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_win.c')
-rw-r--r--pugl/pugl_win.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/pugl/pugl_win.c b/pugl/pugl_win.c
index 799850e..b34ca43 100644
--- a/pugl/pugl_win.c
+++ b/pugl/pugl_win.c
@@ -21,13 +21,6 @@
#include "pugl/pugl_internal.h"
#include "pugl/pugl_win.h"
-#ifdef PUGL_HAVE_GL
-#include "pugl/pugl_gl_backend.h"
-#endif
-#ifdef PUGL_HAVE_CAIRO
-#include "pugl/pugl_cairo_backend.h"
-#endif
-
#include <windows.h>
#include <windowsx.h>
@@ -91,17 +84,6 @@ puglCreateWindow(PuglView* view, const char* title)
title = title ? title : "Window";
- if (view->ctx_type == PUGL_GL) {
-#ifdef PUGL_HAVE_GL
- view->backend = puglGlBackend();
-#endif
- }
- if (view->ctx_type == PUGL_CAIRO) {
-#ifdef PUGL_HAVE_CAIRO
- view->backend = puglCairoBackend();
-#endif
- }
-
// Get refresh rate for resize draw timer
DEVMODEA devMode = {0};
EnumDisplaySettingsA(NULL, ENUM_CURRENT_SETTINGS, &devMode);