From c73dbbf12b090cb05819df2615594c91dbf1dc16 Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Thu, 11 Jun 2020 11:23:14 +0200 Subject: buffered paint: init in toplevel WM_CREATE the buffered paint initialization is per-thread, doing it in the global ALF_Initialize() is inappropriate. --- alf/alf.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'alf/alf.cpp') 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); -- cgit v1.2.3