summaryrefslogtreecommitdiff
path: root/alf/alf.cpp
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2020-06-11 11:23:14 +0200
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2020-06-11 11:23:14 +0200
commitc73dbbf12b090cb05819df2615594c91dbf1dc16 (patch)
tree41a12240e6d5e2a95562811f28002f78e4b6812a /alf/alf.cpp
parentc41f9dd8ddb935b54f0f57420466e2fc428d61ec (diff)
buffered paint: init in toplevel WM_CREATE
the buffered paint initialization is per-thread, doing it in the global ALF_Initialize() is inappropriate.
Diffstat (limited to 'alf/alf.cpp')
-rw-r--r--alf/alf.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/alf/alf.cpp b/alf/alf.cpp
index 9cc2a59..1bcbce3 100644
--- a/alf/alf.cpp
+++ b/alf/alf.cpp
@@ -21,8 +21,6 @@ ALF_Initialize(void)
ALF_RegisterToplevelClass();
ALF_RegisterControlClass();
-
- ALF_Compat_BufferedPaintInit();
}
// release init lock
@@ -39,8 +37,6 @@ ALF_UnInitialize(void)
// we have the lock!
if (!--_alf_initCounter) {
- ALF_Compat_BufferedPaintUnInit();
-
ALF_UnregisterToplevelClass();
UnregisterClass(_alf_controlClass, ALF_HINSTANCE);