; Listing generated by Microsoft (R) Optimizing Compiler Version 19.37.32824.0 include listing.inc INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES msvcjmc SEGMENT __9C03CD75_concurrencysal@h DB 01H __CA64BAF1_sal@h DB 01H __95655E73_vadefs@h DB 01H __1D560A45_vcruntime@h DB 01H __1B0272D9_corecrt@h DB 01H __13F5961F_stddef@h DB 01H __ED683015_stdint@h DB 01H __89F75FCD_ssgc_internal@h DB 01H __A5E73FD0_glfw3@h DB 01H __1D45B1A5_glfw_null_platform@h DB 01H __74484FB3_corecrt_wctype@h DB 01H __CBE172F9_wctype@h DB 01H __0ED14FEE_winpackagefamily@h DB 01H __F92EF742_winapifamily@h DB 01H __22E515EB_sdkddkver@h DB 01H __F214EFBF_excpt@h DB 01H __D9B78EDA_stdarg@h DB 01H __29F49F40_specstrings_undef@h DB 01H __D0F42932_specstrings_strict@h DB 01H __F00405FD_sdv_driverspecs@h DB 01H __173E09CA_driverspecs@h DB 01H __9A452361_specstrings@h DB 01H __1EC467ED_ctype@h DB 01H __98517906_kernelspecs@h DB 01H __D3497022_basetsd@h DB 01H __61CC25A1_errno@h DB 01H __7061C667_vcruntime_string@h DB 01H __E4C945B4_corecrt_memcpy_s@h DB 01H __8EAFF484_corecrt_memory@h DB 01H __6490AEC5_corecrt_wstring@h DB 01H __E8295E1E_string@h DB 01H __7FCB5136_guiddef@h DB 01H __FF8A9E11_pshpack4@h DB 01H __D5438902_poppack@h DB 01H __FB07E2A3_pshpack2@h DB 01H __F6906775_pshpack8@h DB 01H __F9415CFA_pshpack1@h DB 01H __E58C6F1C_apiset@h DB 01H __A5C52262_ktmtypes@h DB 01H __FBBA8F9D_winnt@h DB 01H __A32D3D2C_minwindef@h DB 01H __7D798299_windef@h DB 01H __9AE108E9_apisetcconv@h DB 01H __9CE53D2C_minwinbase@h DB 01H __5D0AA210_apiquery2@h DB 01H __4DD4E726_processenv@h DB 01H __3575CC96_fileapi@h DB 01H __8EA220E6_fileapifromapp@h DB 01H __BF9B31FE_debugapi@h DB 01H __C3AFE134_utilapiset@h DB 01H __76F69E51_handleapi@h DB 01H __7E63D784_errhandlingapi@h DB 01H __FFA7003C_fibersapi@h DB 01H __8971CECF_namedpipeapi@h DB 01H __46C9D8A6_profileapi@h DB 01H __98D4F0A3_heapapi@h DB 01H __50EF2A88_ioapiset@h DB 01H __92EA1464_synchapi@h DB 01H __A53D8AED_interlockedapi@h DB 01H __B506CAAF_processthreadsapi@h DB 01H __FF735694_sysinfoapi@h DB 01H __29589789_memoryapi@h DB 01H __E9C7A663_enclaveapi@h DB 01H __D035F9F7_threadpoollegacyapiset@h DB 01H __C899130C_threadpoolapiset@h DB 01H __E0441EE7_jobapi@h DB 01H __CEF86838_jobapi2@h DB 01H __35AC6B9A_wow64apiset@h DB 01H __C8AE41A5_libloaderapi@h DB 01H __CC9E232D_securitybaseapi@h DB 01H __C9D0C9B8_namespaceapi@h DB 01H __30FF9CAD_systemtopologyapi@h DB 01H __4D358795_processtopologyapi@h DB 01H __40446D10_securityappcontainer@h DB 01H __3A952EDF_realtimeapiset@h DB 01H __F4865F4B_winerror@h DB 01H __53C1BD93_timezoneapi@h DB 01H __1FFBEDBF_winbase@h DB 01H __43D3FA34_wingdi@h DB 01H __D24A7391_tvout@h DB 01H __7713A6C8_winuser@h DB 01H __0B345F71_datetimeapi@h DB 01H __9AC6960C_winnls@h DB 01H __973A40A8_stringapiset@h DB 01H __CC46FEE2_wincontypes@h DB 01H __97D70BE1_consoleapi@h DB 01H __27EC5E18_consoleapi2@h DB 01H __262E342F_consoleapi3@h DB 01H __641DCD70_wincon@h DB 01H __5A96C7A7_verrsrc@h DB 01H __B69C6FF2_winver@h DB 01H __7AEB8C37_reason@h DB 01H __59F1A8A9_winreg@h DB 01H __EE0E2B7F_wnnc@h DB 01H __DCDB7054_winnetwk@h DB 01H __81DDEDE3_stralign@h DB 01H __2134D1B4_winsvc@h DB 01H __11C07376_mcx@h DB 01H __577CE3E7_ime_cmodes@h DB 01H __1E72C31E_imm@h DB 01H __E15BF856_windows@h DB 01H __DF8704F0_rpcdcep@h DB 01H __5C6CA7BB_rpcdce@h DB 01H __853533C4_rpcnsi@h DB 01H __2D2406C3_rpcnterr@h DB 01H __64521D71_rpcasync@h DB 01H __AADCBA08_rpc@h DB 01H __1FE431C9_rpcnsip@h DB 01H __2B741F2D_rpcsal@h DB 01H __92623256_rpcndr@h DB 01H __45DED006_corecrt_malloc@h DB 01H __FD6DBD68_corecrt_search@h DB 01H __E2E33A61_corecrt_wstdlib@h DB 01H __531E1E2A_limits@h DB 01H __6E5ACABA_stdlib@h DB 01H __9C18532E_wtypesbase@h DB 01H __30B1AFDA_unknwnbase@h DB 01H __328C1996_objidlbase@h DB 01H __C4E06B6A_cguid@h DB 01H __434718C5_combaseapi@h DB 01H __EA2E1D6D_wtypes@h DB 01H __DE6FDEF1_unknwn@h DB 01H __CCE0BACC_objidl@h DB 01H __8C7011E5_oaidl@h DB 01H __2E0B7863_propidlbase@h DB 01H __BF4CF2EC_coml2api@h DB 01H __6D897344_oleidl@h DB 01H __1129FC2C_servprov@h DB 01H __757952E4_msxml@h DB 01H __B1191D53_urlmon@h DB 01H __404D1A47_propidl@h DB 01H __A1C63593_objbase@h DB 01H __9F7C87B7_dinput@h DB 01H __B468A3D3_xinput@h DB 01H __AD768F06_dbt@h DB 01H __D83367F8_glfw_win32_platform@h DB 01H __53CB9229_glfw_null_joystick@h DB 01H __96BD4474_glfw_win32_joystick@h DB 01H __7D74CEA8_glfw_win32_thread@h DB 01H __C7421531_glfw_win32_time@h DB 01H __43B1F397_glfw_platform@h DB 01H __A547227D_glfw_internal@h DB 01H __19139D6C_assert@h DB 01H __3DF919D4_wgl_context@c DB 01H msvcjmc ENDS PUBLIC _glfwInitWGL PUBLIC _glfwTerminateWGL PUBLIC _glfwCreateContextWGL PUBLIC glfwGetWGLContext PUBLIC __JustMyCode_Default PUBLIC ??_C@_0CO@KALOHMEN@WGL?3?5Unknown?5pixel?5format?5attri@ ; `string' PUBLIC ??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ ; `string' PUBLIC ??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ ; `string' PUBLIC ??_C@_0DA@LMPKCOPB@WGL?3?5Failed?5to?5retrieve?5pixel?5f@ ; `string' PUBLIC ??_C@_0CF@OGLFKBHA@WGL?3?5Failed?5to?5describe?5pixel?5f@ ; `string' PUBLIC ??_C@_0DC@HFHALHIB@WGL?3?5The?5driver?5does?5not?5appear@ ; `string' PUBLIC ??_C@_0CM@DGJKGOGD@WGL?3?5Failed?5to?5find?5a?5suitable?5@ ; `string' PUBLIC ??_C@_0CE@FEGPCKPN@WGL?3?5Failed?5to?5make?5context?5cur@ ; `string' PUBLIC ??_C@_0CF@EKIADPFB@WGL?3?5Failed?5to?5clear?5current?5co@ ; `string' PUBLIC ??_C@_0N@DOKAJOHF@opengl32?4dll@ ; `string' PUBLIC ??_C@_0CB@FLGENKMO@WGL?3?5Failed?5to?5load?5opengl32?4dl@ ; `string' PUBLIC ??_C@_0BB@GHMBNOIP@wglCreateContext@ ; `string' PUBLIC ??_C@_0BB@OGAIJNNO@wglDeleteContext@ ; `string' PUBLIC ??_C@_0BC@FFKMKEGM@wglGetProcAddress@ ; `string' PUBLIC ??_C@_0BA@BMKCDCKD@wglGetCurrentDC@ ; `string' PUBLIC ??_C@_0BF@HABDPBMA@wglGetCurrentContext@ ; `string' PUBLIC ??_C@_0P@BBBFNDGG@wglMakeCurrent@ ; `string' PUBLIC ??_C@_0O@GCGJMHDL@wglShareLists@ ; `string' PUBLIC ??_C@_0DC@IPDIACJO@WGL?3?5Failed?5to?5set?5pixel?5format@ ; `string' PUBLIC ??_C@_0CE@KAEELGKL@WGL?3?5Failed?5to?5create?5dummy?5con@ ; `string' PUBLIC ??_C@_0CK@JKJFDJLH@WGL?3?5Failed?5to?5make?5dummy?5conte@ ; `string' PUBLIC ??_C@_0BK@HGDBIG@wglGetExtensionsStringEXT@ ; `string' PUBLIC ??_C@_0BK@JOBLJGNA@wglGetExtensionsStringARB@ ; `string' PUBLIC ??_C@_0BL@PDDHMPGF@wglCreateContextAttribsARB@ ; `string' PUBLIC ??_C@_0BD@IINOPBDD@wglSwapIntervalEXT@ ; `string' PUBLIC ??_C@_0BN@GDKHKIAN@wglGetPixelFormatAttribivARB@ ; `string' PUBLIC ??_C@_0BE@BMOJHNDI@WGL_ARB_multisample@ ; `string' PUBLIC ??_C@_0BJ@CIMJOHKL@WGL_ARB_framebuffer_sRGB@ ; `string' PUBLIC ??_C@_0BJ@ODLLHDDH@WGL_EXT_framebuffer_sRGB@ ; `string' PUBLIC ??_C@_0BH@NCJDMLMG@WGL_ARB_create_context@ ; `string' PUBLIC ??_C@_0BP@JAOBDJGN@WGL_ARB_create_context_profile@ ; `string' PUBLIC ??_C@_0CD@FOMFMBIL@WGL_EXT_create_context_es2_prof@ ; `string' PUBLIC ??_C@_0CC@BFGHOMNL@WGL_ARB_create_context_robustne@ ; `string' PUBLIC ??_C@_0CA@CJLAIOKE@WGL_ARB_create_context_no_error@ ; `string' PUBLIC ??_C@_0BF@NPDKPIKE@WGL_EXT_swap_control@ ; `string' PUBLIC ??_C@_0BD@KGLHBPN@WGL_EXT_colorspace@ ; `string' PUBLIC ??_C@_0BF@OGGDOHFN@WGL_ARB_pixel_format@ ; `string' PUBLIC ??_C@_0BO@FABLLHKK@WGL_ARB_context_flush_control@ ; `string' PUBLIC ??_C@_0CG@GMPEPNKL@WGL?3?5Failed?5to?5retrieve?5DC?5for?5@ ; `string' PUBLIC ??_C@_0DG@EPNPJJLB@WGL?3?5Failed?5to?5retrieve?5PFD?5for@ ; `string' PUBLIC ??_C@_0CJ@HAGOIHNO@WGL?3?5Failed?5to?5set?5selected?5pix@ ; `string' PUBLIC ??_C@_0FN@NPOMMKHN@WGL?3?5A?5forward?5compatible?5OpenG@ ; `string' PUBLIC ??_C@_0FA@OHOPKHFK@WGL?3?5OpenGL?5profile?5requested?5b@ ; `string' PUBLIC ??_C@_0EP@EKHGPGGO@WGL?3?5OpenGL?5ES?5requested?5but?5WG@ ; `string' PUBLIC ??_C@_1HI@HJCOLHIE@?$AA?$CI?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAi?$AAn?$AAd?$AAe?$AAx@ ; `string' PUBLIC ??_C@_0DC@CDLECLKD@WGL?3?5Driver?5does?5not?5support?5Op@ ; `string' PUBLIC ??_C@_0DF@NPMNAJFG@WGL?3?5Driver?5does?5not?5support?5Op@ ; `string' PUBLIC ??_C@_0DK@CDBDDLLM@WGL?3?5Driver?5does?5not?5support?5th@ ; `string' PUBLIC ??_C@_0EE@LGMAAPCC@WGL?3?5The?5share?5context?5is?5not?5c@ ; `string' PUBLIC ??_C@_0CF@GFMDJIA@WGL?3?5Failed?5to?5create?5OpenGL?5co@ ; `string' PUBLIC ??_C@_0CI@JNBCHAIF@WGL?3?5Failed?5to?5create?5OpenGL?5ES@ ; `string' PUBLIC ??_C@_0DM@FCAOPKO@WGL?3?5Failed?5to?5enable?5sharing?5w@ ; `string' PUBLIC ??_C@_0BO@NDHCIMGN@WGL?3?5Platform?5not?5initialized@ ; `string' EXTRN memset:PROC EXTRN __imp_GetLastError:PROC EXTRN __imp_ChoosePixelFormat:PROC EXTRN __imp_DescribePixelFormat:PROC EXTRN __imp_SetPixelFormat:PROC EXTRN __imp_SwapBuffers:PROC EXTRN __imp_GetDC:PROC EXTRN abs:PROC EXTRN _glfwIsWindowsVersionOrGreaterWin32:PROC EXTRN _glfwInputErrorWin32:PROC EXTRN _glfwPlatformGetTls:PROC EXTRN _glfwPlatformSetTls:PROC EXTRN _glfwPlatformLoadModule:PROC EXTRN _glfwPlatformFreeModule:PROC EXTRN _glfwPlatformGetModuleSymbol:PROC EXTRN _glfwInputError:PROC EXTRN _glfwStringInExtensionString:PROC EXTRN _glfwChooseFBConfig:PROC EXTRN _glfw_calloc:PROC EXTRN _glfw_free:PROC EXTRN __imp__wassert:PROC EXTRN _RTC_CheckStackVars:PROC EXTRN _RTC_InitBase:PROC EXTRN _RTC_Shutdown:PROC EXTRN __CheckForDebuggerJustMyCode:PROC EXTRN __GSHandlerCheck:PROC EXTRN __security_check_cookie:PROC EXTRN _glfw:BYTE EXTRN __security_cookie:QWORD ; COMDAT pdata pdata SEGMENT $pdata$_glfwInitWGL DD imagerel $LN8 DD imagerel $LN8+988 DD imagerel $unwind$_glfwInitWGL pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$_glfwTerminateWGL DD imagerel $LN4 DD imagerel $LN4+59 DD imagerel $unwind$_glfwTerminateWGL pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$_glfwCreateContextWGL DD imagerel $LN65 DD imagerel $LN65+2618 DD imagerel $unwind$_glfwCreateContextWGL pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$findPixelFormatAttribValueWGL DD imagerel findPixelFormatAttribValueWGL DD imagerel findPixelFormatAttribValueWGL+142 DD imagerel $unwind$findPixelFormatAttribValueWGL pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$choosePixelFormatWGL DD imagerel choosePixelFormatWGL DD imagerel choosePixelFormatWGL+3771 DD imagerel $unwind$choosePixelFormatWGL pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$makeContextCurrentWGL DD imagerel makeContextCurrentWGL DD imagerel makeContextCurrentWGL+188 DD imagerel $unwind$makeContextCurrentWGL pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$swapBuffersWGL DD imagerel swapBuffersWGL DD imagerel swapBuffersWGL+268 DD imagerel $unwind$swapBuffersWGL pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$swapIntervalWGL DD imagerel swapIntervalWGL DD imagerel swapIntervalWGL+251 DD imagerel $unwind$swapIntervalWGL pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$extensionSupportedWGL DD imagerel extensionSupportedWGL DD imagerel extensionSupportedWGL+127 DD imagerel $unwind$extensionSupportedWGL pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$getProcAddressWGL DD imagerel getProcAddressWGL DD imagerel getProcAddressWGL+90 DD imagerel $unwind$getProcAddressWGL pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$destroyContextWGL DD imagerel destroyContextWGL DD imagerel destroyContextWGL+96 DD imagerel $unwind$destroyContextWGL pdata ENDS ; COMDAT pdata pdata SEGMENT $pdata$glfwGetWGLContext DD imagerel $LN6 DD imagerel $LN6+153 DD imagerel $unwind$glfwGetWGLContext pdata ENDS ; COMDAT rtc$TMZ rtc$TMZ SEGMENT _RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown rtc$TMZ ENDS ; COMDAT rtc$IMZ rtc$IMZ SEGMENT _RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase rtc$IMZ ENDS ; COMDAT ??_C@_0BO@NDHCIMGN@WGL?3?5Platform?5not?5initialized@ CONST SEGMENT ??_C@_0BO@NDHCIMGN@WGL?3?5Platform?5not?5initialized@ DB 'WGL: Platform n' DB 'ot initialized', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DM@FCAOPKO@WGL?3?5Failed?5to?5enable?5sharing?5w@ CONST SEGMENT ??_C@_0DM@FCAOPKO@WGL?3?5Failed?5to?5enable?5sharing?5w@ DB 'WGL: Failed ' DB 'to enable sharing with specified OpenGL context', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CI@JNBCHAIF@WGL?3?5Failed?5to?5create?5OpenGL?5ES@ CONST SEGMENT ??_C@_0CI@JNBCHAIF@WGL?3?5Failed?5to?5create?5OpenGL?5ES@ DB 'WGL: Failed' DB ' to create OpenGL ES context', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CF@GFMDJIA@WGL?3?5Failed?5to?5create?5OpenGL?5co@ CONST SEGMENT ??_C@_0CF@GFMDJIA@WGL?3?5Failed?5to?5create?5OpenGL?5co@ DB 'WGL: Failed ' DB 'to create OpenGL context', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0EE@LGMAAPCC@WGL?3?5The?5share?5context?5is?5not?5c@ CONST SEGMENT ??_C@_0EE@LGMAAPCC@WGL?3?5The?5share?5context?5is?5not?5c@ DB 'WGL: The s' DB 'hare context is not compatible with the requested context', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DK@CDBDDLLM@WGL?3?5Driver?5does?5not?5support?5th@ CONST SEGMENT ??_C@_0DK@CDBDDLLM@WGL?3?5Driver?5does?5not?5support?5th@ DB 'WGL: Driver' DB ' does not support the requested OpenGL profile', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DF@NPMNAJFG@WGL?3?5Driver?5does?5not?5support?5Op@ CONST SEGMENT ??_C@_0DF@NPMNAJFG@WGL?3?5Driver?5does?5not?5support?5Op@ DB 'WGL: Driver' DB ' does not support OpenGL ES version %i.%i', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DC@CDLECLKD@WGL?3?5Driver?5does?5not?5support?5Op@ CONST SEGMENT ??_C@_0DC@CDLECLKD@WGL?3?5Driver?5does?5not?5support?5Op@ DB 'WGL: Driver' DB ' does not support OpenGL version %i.%i', 00H ; `string' CONST ENDS ; COMDAT ??_C@_1HI@HJCOLHIE@?$AA?$CI?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAi?$AAn?$AAd?$AAe?$AAx@ CONST SEGMENT ??_C@_1HI@HJCOLHIE@?$AA?$CI?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAi?$AAn?$AAd?$AAe?$AAx@ DB '(' DB 00H, '(', 00H, 's', 00H, 'i', 00H, 'z', 00H, 'e', 00H, '_', 00H DB 't', 00H, ')', 00H, ' ', 00H, 'i', 00H, 'n', 00H, 'd', 00H, 'e' DB 00H, 'x', 00H, ' ', 00H, '+', 00H, ' ', 00H, '1', 00H, ')', 00H DB ' ', 00H, '<', 00H, ' ', 00H, 's', 00H, 'i', 00H, 'z', 00H, 'e' DB 00H, 'o', 00H, 'f', 00H, '(', 00H, 'a', 00H, 't', 00H, 't', 00H DB 'r', 00H, 'i', 00H, 'b', 00H, 's', 00H, ')', 00H, ' ', 00H, '/' DB 00H, ' ', 00H, 's', 00H, 'i', 00H, 'z', 00H, 'e', 00H, 'o', 00H DB 'f', 00H, '(', 00H, 'a', 00H, 't', 00H, 't', 00H, 'r', 00H, 'i' DB 00H, 'b', 00H, 's', 00H, '[', 00H, '0', 00H, ']', 00H, ')', 00H DB 00H, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0EP@EKHGPGGO@WGL?3?5OpenGL?5ES?5requested?5but?5WG@ CONST SEGMENT ??_C@_0EP@EKHGPGGO@WGL?3?5OpenGL?5ES?5requested?5but?5WG@ DB 'WGL: OpenGL' DB ' ES requested but WGL_ARB_create_context_es2_profile is unava' DB 'ilable', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0FA@OHOPKHFK@WGL?3?5OpenGL?5profile?5requested?5b@ CONST SEGMENT ??_C@_0FA@OHOPKHFK@WGL?3?5OpenGL?5profile?5requested?5b@ DB 'WGL: OpenGL ' DB 'profile requested but WGL_ARB_create_context_profile is unava' DB 'ilable', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0FN@NPOMMKHN@WGL?3?5A?5forward?5compatible?5OpenG@ CONST SEGMENT ??_C@_0FN@NPOMMKHN@WGL?3?5A?5forward?5compatible?5OpenG@ DB 'WGL: A forwa' DB 'rd compatible OpenGL context requested but WGL_ARB_create_con' DB 'text is unavailable', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CJ@HAGOIHNO@WGL?3?5Failed?5to?5set?5selected?5pix@ CONST SEGMENT ??_C@_0CJ@HAGOIHNO@WGL?3?5Failed?5to?5set?5selected?5pix@ DB 'WGL: Failed' DB ' to set selected pixel format', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DG@EPNPJJLB@WGL?3?5Failed?5to?5retrieve?5PFD?5for@ CONST SEGMENT ??_C@_0DG@EPNPJJLB@WGL?3?5Failed?5to?5retrieve?5PFD?5for@ DB 'WGL: Failed' DB ' to retrieve PFD for selected pixel format', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CG@GMPEPNKL@WGL?3?5Failed?5to?5retrieve?5DC?5for?5@ CONST SEGMENT ??_C@_0CG@GMPEPNKL@WGL?3?5Failed?5to?5retrieve?5DC?5for?5@ DB 'WGL: Faile' DB 'd to retrieve DC for window', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BO@FABLLHKK@WGL_ARB_context_flush_control@ CONST SEGMENT ??_C@_0BO@FABLLHKK@WGL_ARB_context_flush_control@ DB 'WGL_ARB_context_flu' DB 'sh_control', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BF@OGGDOHFN@WGL_ARB_pixel_format@ CONST SEGMENT ??_C@_0BF@OGGDOHFN@WGL_ARB_pixel_format@ DB 'WGL_ARB_pixel_format', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BD@KGLHBPN@WGL_EXT_colorspace@ CONST SEGMENT ??_C@_0BD@KGLHBPN@WGL_EXT_colorspace@ DB 'WGL_EXT_colorspace', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BF@NPDKPIKE@WGL_EXT_swap_control@ CONST SEGMENT ??_C@_0BF@NPDKPIKE@WGL_EXT_swap_control@ DB 'WGL_EXT_swap_control', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CA@CJLAIOKE@WGL_ARB_create_context_no_error@ CONST SEGMENT ??_C@_0CA@CJLAIOKE@WGL_ARB_create_context_no_error@ DB 'WGL_ARB_create_co' DB 'ntext_no_error', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CC@BFGHOMNL@WGL_ARB_create_context_robustne@ CONST SEGMENT ??_C@_0CC@BFGHOMNL@WGL_ARB_create_context_robustne@ DB 'WGL_ARB_create_co' DB 'ntext_robustness', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CD@FOMFMBIL@WGL_EXT_create_context_es2_prof@ CONST SEGMENT ??_C@_0CD@FOMFMBIL@WGL_EXT_create_context_es2_prof@ DB 'WGL_EXT_create_co' DB 'ntext_es2_profile', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BP@JAOBDJGN@WGL_ARB_create_context_profile@ CONST SEGMENT ??_C@_0BP@JAOBDJGN@WGL_ARB_create_context_profile@ DB 'WGL_ARB_create_con' DB 'text_profile', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BH@NCJDMLMG@WGL_ARB_create_context@ CONST SEGMENT ??_C@_0BH@NCJDMLMG@WGL_ARB_create_context@ DB 'WGL_ARB_create_context', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BJ@ODLLHDDH@WGL_EXT_framebuffer_sRGB@ CONST SEGMENT ??_C@_0BJ@ODLLHDDH@WGL_EXT_framebuffer_sRGB@ DB 'WGL_EXT_framebuffer_sRGB' DB 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BJ@CIMJOHKL@WGL_ARB_framebuffer_sRGB@ CONST SEGMENT ??_C@_0BJ@CIMJOHKL@WGL_ARB_framebuffer_sRGB@ DB 'WGL_ARB_framebuffer_sRGB' DB 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BE@BMOJHNDI@WGL_ARB_multisample@ CONST SEGMENT ??_C@_0BE@BMOJHNDI@WGL_ARB_multisample@ DB 'WGL_ARB_multisample', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BN@GDKHKIAN@wglGetPixelFormatAttribivARB@ CONST SEGMENT ??_C@_0BN@GDKHKIAN@wglGetPixelFormatAttribivARB@ DB 'wglGetPixelFormatAtt' DB 'ribivARB', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BD@IINOPBDD@wglSwapIntervalEXT@ CONST SEGMENT ??_C@_0BD@IINOPBDD@wglSwapIntervalEXT@ DB 'wglSwapIntervalEXT', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BL@PDDHMPGF@wglCreateContextAttribsARB@ CONST SEGMENT ??_C@_0BL@PDDHMPGF@wglCreateContextAttribsARB@ DB 'wglCreateContextAttrib' DB 'sARB', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BK@JOBLJGNA@wglGetExtensionsStringARB@ CONST SEGMENT ??_C@_0BK@JOBLJGNA@wglGetExtensionsStringARB@ DB 'wglGetExtensionsStringA' DB 'RB', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BK@HGDBIG@wglGetExtensionsStringEXT@ CONST SEGMENT ??_C@_0BK@HGDBIG@wglGetExtensionsStringEXT@ DB 'wglGetExtensionsStringEXT' DB 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CK@JKJFDJLH@WGL?3?5Failed?5to?5make?5dummy?5conte@ CONST SEGMENT ??_C@_0CK@JKJFDJLH@WGL?3?5Failed?5to?5make?5dummy?5conte@ DB 'WGL: Failed' DB ' to make dummy context current', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CE@KAEELGKL@WGL?3?5Failed?5to?5create?5dummy?5con@ CONST SEGMENT ??_C@_0CE@KAEELGKL@WGL?3?5Failed?5to?5create?5dummy?5con@ DB 'WGL: Failed' DB ' to create dummy context', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DC@IPDIACJO@WGL?3?5Failed?5to?5set?5pixel?5format@ CONST SEGMENT ??_C@_0DC@IPDIACJO@WGL?3?5Failed?5to?5set?5pixel?5format@ DB 'WGL: Failed' DB ' to set pixel format for dummy context', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0O@GCGJMHDL@wglShareLists@ CONST SEGMENT ??_C@_0O@GCGJMHDL@wglShareLists@ DB 'wglShareLists', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0P@BBBFNDGG@wglMakeCurrent@ CONST SEGMENT ??_C@_0P@BBBFNDGG@wglMakeCurrent@ DB 'wglMakeCurrent', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BF@HABDPBMA@wglGetCurrentContext@ CONST SEGMENT ??_C@_0BF@HABDPBMA@wglGetCurrentContext@ DB 'wglGetCurrentContext', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BA@BMKCDCKD@wglGetCurrentDC@ CONST SEGMENT ??_C@_0BA@BMKCDCKD@wglGetCurrentDC@ DB 'wglGetCurrentDC', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BC@FFKMKEGM@wglGetProcAddress@ CONST SEGMENT ??_C@_0BC@FFKMKEGM@wglGetProcAddress@ DB 'wglGetProcAddress', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BB@OGAIJNNO@wglDeleteContext@ CONST SEGMENT ??_C@_0BB@OGAIJNNO@wglDeleteContext@ DB 'wglDeleteContext', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0BB@GHMBNOIP@wglCreateContext@ CONST SEGMENT ??_C@_0BB@GHMBNOIP@wglCreateContext@ DB 'wglCreateContext', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CB@FLGENKMO@WGL?3?5Failed?5to?5load?5opengl32?4dl@ CONST SEGMENT ??_C@_0CB@FLGENKMO@WGL?3?5Failed?5to?5load?5opengl32?4dl@ DB 'WGL: Failed' DB ' to load opengl32.dll', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0N@DOKAJOHF@opengl32?4dll@ CONST SEGMENT ??_C@_0N@DOKAJOHF@opengl32?4dll@ DB 'opengl32.dll', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CF@EKIADPFB@WGL?3?5Failed?5to?5clear?5current?5co@ CONST SEGMENT ??_C@_0CF@EKIADPFB@WGL?3?5Failed?5to?5clear?5current?5co@ DB 'WGL: Failed' DB ' to clear current context', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CE@FEGPCKPN@WGL?3?5Failed?5to?5make?5context?5cur@ CONST SEGMENT ??_C@_0CE@FEGPCKPN@WGL?3?5Failed?5to?5make?5context?5cur@ DB 'WGL: Failed' DB ' to make context current', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CM@DGJKGOGD@WGL?3?5Failed?5to?5find?5a?5suitable?5@ CONST SEGMENT ??_C@_0CM@DGJKGOGD@WGL?3?5Failed?5to?5find?5a?5suitable?5@ DB 'WGL: Faile' DB 'd to find a suitable pixel format', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DC@HFHALHIB@WGL?3?5The?5driver?5does?5not?5appear@ CONST SEGMENT ??_C@_0DC@HFHALHIB@WGL?3?5The?5driver?5does?5not?5appear@ DB 'WGL: The dr' DB 'iver does not appear to support OpenGL', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CF@OGLFKBHA@WGL?3?5Failed?5to?5describe?5pixel?5f@ CONST SEGMENT ??_C@_0CF@OGLFKBHA@WGL?3?5Failed?5to?5describe?5pixel?5f@ DB 'WGL: Failed' DB ' to describe pixel format', 00H ; `string' CONST ENDS ; COMDAT ??_C@_0DA@LMPKCOPB@WGL?3?5Failed?5to?5retrieve?5pixel?5f@ CONST SEGMENT ??_C@_0DA@LMPKCOPB@WGL?3?5Failed?5to?5retrieve?5pixel?5f@ DB 'WGL: Failed' DB ' to retrieve pixel format attributes', 00H ; `string' CONST ENDS ; COMDAT ??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ CONST SEGMENT ??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ DB '(' DB 00H, 's', 00H, 'i', 00H, 'z', 00H, 'e', 00H, '_', 00H, 't', 00H DB ')', 00H, ' ', 00H, 'a', 00H, 't', 00H, 't', 00H, 'r', 00H, 'i' DB 00H, 'b', 00H, 'C', 00H, 'o', 00H, 'u', 00H, 'n', 00H, 't', 00H DB ' ', 00H, '<', 00H, ' ', 00H, 's', 00H, 'i', 00H, 'z', 00H, 'e' DB 00H, 'o', 00H, 'f', 00H, '(', 00H, 'a', 00H, 't', 00H, 't', 00H DB 'r', 00H, 'i', 00H, 'b', 00H, 's', 00H, ')', 00H, ' ', 00H, '/' DB 00H, ' ', 00H, 's', 00H, 'i', 00H, 'z', 00H, 'e', 00H, 'o', 00H DB 'f', 00H, '(', 00H, 'a', 00H, 't', 00H, 't', 00H, 'r', 00H, 'i' DB 00H, 'b', 00H, 's', 00H, '[', 00H, '0', 00H, ']', 00H, ')', 00H DB 00H, 00H ; `string' CONST ENDS ; COMDAT ??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ CONST SEGMENT ??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ DB 'D' DB 00H, ':', 00H, '\', 00H, 'N', 00H, 'i', 00H, 't', 00H, 'l', 00H DB 'o', 00H, 'a', 00H, 'd', 00H, 'I', 00H, 'n', 00H, 'd', 00H, 'u' DB 00H, 's', 00H, 't', 00H, 'r', 00H, 'y', 00H, '\', 00H, 014H, 'x' DB 'vzy', 098H, 0eeH, 'v\', 00H, '1', 00H, '-', 00H, 'F', 00H, 'l' DB 00H, 'a', 00H, 'g', 00H, 's', 00H, 'h', 00H, 'i', 00H, 'p', 00H DB '\', 00H, 'T', 00H, 'H', 00H, '2', 00H, '0', 00H, '2', 00H, '0' DB 00H, '\', 00H, 'P', 00H, 'r', 00H, 'o', 00H, 'j', 00H, 'e', 00H DB 'c', 00H, 't', 00H, 'F', 00H, 'i', 00H, 'l', 00H, 'e', 00H, '\' DB 00H, 090H, 'n', 0e3H, 'N', 01H, 'x\', 00H, 'S', 00H, 't', 00H, 'g' DB 00H, 'S', 00H, 'h', 00H, 'a', 00H, 'r', 00H, 'p', 00H, 'G', 00H DB 'r', 00H, 'a', 00H, 'p', 00H, 'h', 00H, 'i', 00H, 'c', 00H, '\' DB 00H, 'c', 00H, 'o', 00H, 'd', 00H, 'e', 00H, '\', 00H, 'g', 00H DB 'l', 00H, 'f', 00H, 'w', 00H, '\', 00H, 'w', 00H, 'g', 00H, 'l' DB 00H, '_', 00H, 'c', 00H, 'o', 00H, 'n', 00H, 't', 00H, 'e', 00H DB 'x', 00H, 't', 00H, '.', 00H, 'c', 00H, 00H, 00H ; `string' CONST ENDS ; COMDAT ??_C@_0CO@KALOHMEN@WGL?3?5Unknown?5pixel?5format?5attri@ CONST SEGMENT ??_C@_0CO@KALOHMEN@WGL?3?5Unknown?5pixel?5format?5attri@ DB 'WGL: Unknown' DB ' pixel format attribute requested', 00H ; `string' CONST ENDS ; COMDAT xdata xdata SEGMENT $unwind$glfwGetWGLContext DD 025051301H DD 010e2313H DD 070070021H DD 05006H xdata ENDS ; COMDAT xdata xdata SEGMENT $unwind$destroyContextWGL DD 025051301H DD 010e2313H DD 07007001dH DD 05006H xdata ENDS ; COMDAT xdata xdata SEGMENT $unwind$getProcAddressWGL DD 025051301H DD 010e2313H DD 070070021H DD 05006H xdata ENDS ; COMDAT xdata xdata SEGMENT $unwind$extensionSupportedWGL DD 025051301H DD 010e2313H DD 070070021H DD 05006H xdata ENDS ; COMDAT voltbl voltbl SEGMENT _volmd DB 034H DB 0e2H voltbl ENDS ; COMDAT xdata xdata SEGMENT $unwind$swapIntervalWGL DD 025053b19H DD 010d2312H DD 070060025H DD 05005H DD imagerel __GSHandlerCheck DD 0118H xdata ENDS ; COMDAT CONST CONST SEGMENT swapIntervalWGL$rtcName$0 DB 065H DB 06eH DB 061H DB 062H DB 06cH DB 065H DB 064H DB 00H ORG $+8 swapIntervalWGL$rtcVarDesc DD 044H DD 04H DQ FLAT:swapIntervalWGL$rtcName$0 ORG $+48 swapIntervalWGL$rtcFrameData DD 01H DD 00H DQ FLAT:swapIntervalWGL$rtcVarDesc CONST ENDS ; COMDAT voltbl voltbl SEGMENT _volmd DB 036H DB 0f3H voltbl ENDS ; COMDAT xdata xdata SEGMENT $unwind$swapBuffersWGL DD 025053d19H DD 010e2313H DD 070070025H DD 05006H DD imagerel __GSHandlerCheck DD 0118H xdata ENDS ; COMDAT CONST CONST SEGMENT swapBuffersWGL$rtcName$0 DB 065H DB 06eH DB 061H DB 062H DB 06cH DB 065H DB 064H DB 00H ORG $+8 swapBuffersWGL$rtcVarDesc DD 024H DD 04H DQ FLAT:swapBuffersWGL$rtcName$0 ORG $+48 swapBuffersWGL$rtcFrameData DD 01H DD 00H DQ FLAT:swapBuffersWGL$rtcVarDesc CONST ENDS ; COMDAT xdata xdata SEGMENT $unwind$makeContextCurrentWGL DD 025051301H DD 010e2313H DD 07007001dH DD 05006H xdata ENDS ; COMDAT voltbl voltbl SEGMENT _volmd DW 040H DW 0ea2H voltbl ENDS ; COMDAT xdata xdata SEGMENT $unwind$choosePixelFormatWGL DD 035054719H DD 0118331dH DD 07011008fH DD 05010H DD imagerel __GSHandlerCheck DD 0468H xdata ENDS ; COMDAT CONST CONST SEGMENT choosePixelFormatWGL$rtcName$0 DB 061H DB 074H DB 074H DB 072H DB 069H DB 062H DB 073H DB 00H choosePixelFormatWGL$rtcName$1 DB 076H DB 061H DB 06cH DB 075H DB 065H DB 073H DB 00H ORG $+1 choosePixelFormatWGL$rtcName$2 DB 070H DB 066H DB 064H DB 00H ORG $+12 choosePixelFormatWGL$rtcVarDesc DD 02b8H DD 028H DQ FLAT:choosePixelFormatWGL$rtcName$2 DD 01e0H DD 0a0H DQ FLAT:choosePixelFormatWGL$rtcName$1 DD 0120H DD 0a0H DQ FLAT:choosePixelFormatWGL$rtcName$0 ORG $+144 choosePixelFormatWGL$rtcFrameData DD 03H DD 00H DQ FLAT:choosePixelFormatWGL$rtcVarDesc CONST ENDS ; COMDAT xdata xdata SEGMENT $unwind$findPixelFormatAttribValueWGL DD 025052101H DD 011c2321H DD 070150021H DD 05014H xdata ENDS ; COMDAT voltbl voltbl SEGMENT _volmd DW 040H DW 0a21H voltbl ENDS ; COMDAT xdata xdata SEGMENT $unwind$_glfwCreateContextWGL DD 025054719H DD 0118231dH DD 070110055H DD 05010H DD imagerel __GSHandlerCheck DD 0298H xdata ENDS ; COMDAT CONST CONST SEGMENT _glfwCreateContextWGL$rtcName$0 DB 061H DB 074H DB 074H DB 072H DB 069H DB 062H DB 073H DB 00H _glfwCreateContextWGL$rtcName$1 DB 070H DB 066H DB 064H DB 00H ORG $+4 _glfwCreateContextWGL$rtcVarDesc DD 0108H DD 028H DQ FLAT:_glfwCreateContextWGL$rtcName$1 DD 030H DD 0a0H DQ FLAT:_glfwCreateContextWGL$rtcName$0 ORG $+96 _glfwCreateContextWGL$rtcFrameData DD 02H DD 00H DQ FLAT:_glfwCreateContextWGL$rtcVarDesc CONST ENDS ; COMDAT xdata xdata SEGMENT $unwind$_glfwTerminateWGL DD 025050f01H DD 010a230fH DD 07003001dH DD 05002H xdata ENDS ; COMDAT voltbl voltbl SEGMENT _volmd DW 02aH DW 03c3H voltbl ENDS ; COMDAT xdata xdata SEGMENT $unwind$_glfwInitWGL DD 025053119H DD 010a230fH DD 070030035H DD 05002H DD imagerel __GSHandlerCheck DD 0198H xdata ENDS ; COMDAT CONST CONST SEGMENT _glfwInitWGL$rtcName$0 DB 070H DB 066H DB 064H DB 00H ORG $+12 _glfwInitWGL$rtcVarDesc DD 028H DD 028H DQ FLAT:_glfwInitWGL$rtcName$0 ORG $+48 _glfwInitWGL$rtcFrameData DD 01H DD 00H DQ FLAT:_glfwInitWGL$rtcVarDesc CONST ENDS ; Function compile flags: /Odt ; COMDAT __JustMyCode_Default _TEXT SEGMENT __JustMyCode_Default PROC ; COMDAT 00000 c2 00 00 ret 0 __JustMyCode_Default ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu /ZI ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\wgl_context.c ; COMDAT glfwGetWGLContext _TEXT SEGMENT window$ = 8 handle$ = 256 glfwGetWGLContext PROC ; COMDAT ; 761 : { $LN6: 00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx 00005 55 push rbp 00006 57 push rdi 00007 48 81 ec 08 01 00 00 sub rsp, 264 ; 00000108H 0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32] 00013 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:__3DF919D4_wgl_context@c 0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode ; 762 : _GLFWwindow* window = (_GLFWwindow*) handle; 0001f 48 8b 85 00 01 00 00 mov rax, QWORD PTR handle$[rbp] 00026 48 89 45 08 mov QWORD PTR window$[rbp], rax ; 763 : _GLFW_REQUIRE_INIT_OR_RETURN(NULL); 0002a 83 3d 00 00 00 00 00 cmp DWORD PTR _glfw, 0 00031 75 10 jne SHORT $LN2@glfwGetWGL 00033 33 d2 xor edx, edx 00035 b9 01 00 01 00 mov ecx, 65537 ; 00010001H 0003a e8 00 00 00 00 call _glfwInputError 0003f 33 c0 xor eax, eax 00041 eb 4c jmp SHORT $LN1@glfwGetWGL $LN2@glfwGetWGL: ; 764 : ; 765 : if (_glfw.platform.platformID != GLFW_PLATFORM_WIN32) 00043 81 3d 28 00 00 00 01 00 06 00 cmp DWORD PTR _glfw+40, 393217 ; 00060001H 0004d 74 15 je SHORT $LN3@glfwGetWGL ; 766 : { ; 767 : _glfwInputError(GLFW_PLATFORM_UNAVAILABLE, 0004f 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0BO@NDHCIMGN@WGL?3?5Platform?5not?5initialized@ 00056 b9 0e 00 01 00 mov ecx, 65550 ; 0001000eH 0005b e8 00 00 00 00 call _glfwInputError ; 768 : "WGL: Platform not initialized"); ; 769 : return NULL; 00060 33 c0 xor eax, eax 00062 eb 2b jmp SHORT $LN1@glfwGetWGL $LN3@glfwGetWGL: ; 770 : } ; 771 : ; 772 : if (window->context.source != GLFW_NATIVE_CONTEXT_API) 00064 48 8b 45 08 mov rax, QWORD PTR window$[rbp] 00068 81 b8 0c 02 00 00 01 60 03 00 cmp DWORD PTR [rax+524], 221185 ; 00036001H 00072 74 10 je SHORT $LN4@glfwGetWGL ; 773 : { ; 774 : _glfwInputError(GLFW_NO_WINDOW_CONTEXT, NULL); 00074 33 d2 xor edx, edx 00076 b9 0a 00 01 00 mov ecx, 65546 ; 0001000aH 0007b e8 00 00 00 00 call _glfwInputError ; 775 : return NULL; 00080 33 c0 xor eax, eax 00082 eb 0b jmp SHORT $LN1@glfwGetWGL $LN4@glfwGetWGL: ; 776 : } ; 777 : ; 778 : return window->context.wgl.handle; 00084 48 8b 45 08 mov rax, QWORD PTR window$[rbp] 00088 48 8b 80 c0 02 00 00 mov rax, QWORD PTR [rax+704] $LN1@glfwGetWGL: ; 779 : } 0008f 48 8d a5 e8 00 00 00 lea rsp, QWORD PTR [rbp+232] 00096 5f pop rdi 00097 5d pop rbp 00098 c3 ret 0 glfwGetWGLContext ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu /ZI ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\wgl_context.c ; COMDAT destroyContextWGL _TEXT SEGMENT window$ = 224 destroyContextWGL PROC ; COMDAT ; 380 : { 00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx 00005 55 push rbp 00006 57 push rdi 00007 48 81 ec e8 00 00 00 sub rsp, 232 ; 000000e8H 0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32] 00013 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:__3DF919D4_wgl_context@c 0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode ; 381 : if (window->context.wgl.handle) 0001f 48 8b 85 e0 00 00 00 mov rax, QWORD PTR window$[rbp] 00026 48 83 b8 c0 02 00 00 00 cmp QWORD PTR [rax+704], 0 0002e 74 26 je SHORT $LN2@destroyCon ; 382 : { ; 383 : wglDeleteContext(window->context.wgl.handle); 00030 48 8b 85 e0 00 00 00 mov rax, QWORD PTR window$[rbp] 00037 48 8b 88 c0 02 00 00 mov rcx, QWORD PTR [rax+704] 0003e ff 15 a0 2c 00 00 call QWORD PTR _glfw+11424 ; 384 : window->context.wgl.handle = NULL; 00044 48 8b 85 e0 00 00 00 mov rax, QWORD PTR window$[rbp] 0004b 48 c7 80 c0 02 00 00 00 00 00 00 mov QWORD PTR [rax+704], 0 $LN2@destroyCon: ; 385 : } ; 386 : } 00056 48 8d a5 c8 00 00 00 lea rsp, QWORD PTR [rbp+200] 0005d 5f pop rdi 0005e 5d pop rbp 0005f c3 ret 0 destroyContextWGL ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu /ZI ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\wgl_context.c ; COMDAT getProcAddressWGL _TEXT SEGMENT proc$ = 8 procname$ = 256 getProcAddressWGL PROC ; COMDAT ; 371 : { 00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx 00005 55 push rbp 00006 57 push rdi 00007 48 81 ec 08 01 00 00 sub rsp, 264 ; 00000108H 0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32] 00013 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:__3DF919D4_wgl_context@c 0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode ; 372 : const GLFWglproc proc = (GLFWglproc) wglGetProcAddress(procname); 0001f 48 8b 8d 00 01 00 00 mov rcx, QWORD PTR procname$[rbp] 00026 ff 15 a8 2c 00 00 call QWORD PTR _glfw+11432 0002c 48 89 45 08 mov QWORD PTR proc$[rbp], rax ; 373 : if (proc) 00030 48 83 7d 08 00 cmp QWORD PTR proc$[rbp], 0 00035 74 06 je SHORT $LN2@getProcAdd ; 374 : return proc; 00037 48 8b 45 08 mov rax, QWORD PTR proc$[rbp] 0003b eb 13 jmp SHORT $LN1@getProcAdd $LN2@getProcAdd: ; 375 : ; 376 : return (GLFWglproc) _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, procname); 0003d 48 8b 95 00 01 00 00 mov rdx, QWORD PTR procname$[rbp] 00044 48 8b 0d 90 2c 00 00 mov rcx, QWORD PTR _glfw+11408 0004b e8 00 00 00 00 call _glfwPlatformGetModuleSymbol $LN1@getProcAdd: ; 377 : } 00050 48 8d a5 e8 00 00 00 lea rsp, QWORD PTR [rbp+232] 00057 5f pop rdi 00058 5d pop rbp 00059 c3 ret 0 getProcAddressWGL ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu /ZI ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\wgl_context.c ; COMDAT extensionSupportedWGL _TEXT SEGMENT extensions$ = 8 extension$ = 256 extensionSupportedWGL PROC ; COMDAT ; 356 : { 00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx 00005 55 push rbp 00006 57 push rdi 00007 48 81 ec 08 01 00 00 sub rsp, 264 ; 00000108H 0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32] 00013 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:__3DF919D4_wgl_context@c 0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode ; 357 : const char* extensions = NULL; 0001f 48 c7 45 08 00 00 00 00 mov QWORD PTR extensions$[rbp], 0 ; 358 : ; 359 : if (_glfw.wgl.GetExtensionsStringARB) 00027 48 83 3d e8 2c 00 00 00 cmp QWORD PTR _glfw+11496, 0 0002f 74 15 je SHORT $LN2@extensionS ; 360 : extensions = wglGetExtensionsStringARB(wglGetCurrentDC()); 00031 ff 15 b0 2c 00 00 call QWORD PTR _glfw+11440 00037 48 8b c8 mov rcx, rax 0003a ff 15 e8 2c 00 00 call QWORD PTR _glfw+11496 00040 48 89 45 08 mov QWORD PTR extensions$[rbp], rax 00044 eb 14 jmp SHORT $LN3@extensionS $LN2@extensionS: ; 361 : else if (_glfw.wgl.GetExtensionsStringEXT) 00046 48 83 3d e0 2c 00 00 00 cmp QWORD PTR _glfw+11488, 0 0004e 74 0a je SHORT $LN4@extensionS ; 362 : extensions = wglGetExtensionsStringEXT(); 00050 ff 15 e0 2c 00 00 call QWORD PTR _glfw+11488 00056 48 89 45 08 mov QWORD PTR extensions$[rbp], rax $LN4@extensionS: $LN3@extensionS: ; 363 : ; 364 : if (!extensions) 0005a 48 83 7d 08 00 cmp QWORD PTR extensions$[rbp], 0 0005f 75 04 jne SHORT $LN5@extensionS ; 365 : return GLFW_FALSE; 00061 33 c0 xor eax, eax 00063 eb 10 jmp SHORT $LN1@extensionS $LN5@extensionS: ; 366 : ; 367 : return _glfwStringInExtensionString(extension, extensions); 00065 48 8b 55 08 mov rdx, QWORD PTR extensions$[rbp] 00069 48 8b 8d 00 01 00 00 mov rcx, QWORD PTR extension$[rbp] 00070 e8 00 00 00 00 call _glfwStringInExtensionString $LN1@extensionS: ; 368 : } 00075 48 8d a5 e8 00 00 00 lea rsp, QWORD PTR [rbp+232] 0007c 5f pop rdi 0007d 5d pop rbp 0007e c3 ret 0 extensionSupportedWGL ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu /ZI ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\wgl_context.c ; COMDAT swapIntervalWGL _TEXT SEGMENT window$ = 8 enabled$4 = 36 __$ArrayPad$ = 248 interval$ = 288 swapIntervalWGL PROC ; COMDAT ; 333 : { 00000 89 4c 24 08 mov DWORD PTR [rsp+8], ecx 00004 55 push rbp 00005 57 push rdi 00006 48 81 ec 28 01 00 00 sub rsp, 296 ; 00000128H 0000d 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32] 00012 48 8d 7c 24 20 lea rdi, QWORD PTR [rsp+32] 00017 b9 12 00 00 00 mov ecx, 18 0001c b8 cc cc cc cc mov eax, -858993460 ; ccccccccH 00021 f3 ab rep stosd 00023 8b 8c 24 48 01 00 00 mov ecx, DWORD PTR [rsp+328] 0002a 48 8b 05 00 00 00 00 mov rax, QWORD PTR __security_cookie 00031 48 33 c5 xor rax, rbp 00034 48 89 85 f8 00 00 00 mov QWORD PTR __$ArrayPad$[rbp], rax 0003b 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:__3DF919D4_wgl_context@c 00042 e8 00 00 00 00 call __CheckForDebuggerJustMyCode ; 334 : _GLFWwindow* window = _glfwPlatformGetTls(&_glfw.contextSlot); 00047 48 8d 0d a4 19 00 00 lea rcx, OFFSET FLAT:_glfw+6564 0004e e8 00 00 00 00 call _glfwPlatformGetTls 00053 48 89 45 08 mov QWORD PTR window$[rbp], rax ; 335 : ; 336 : window->context.wgl.interval = interval; 00057 48 8b 45 08 mov rax, QWORD PTR window$[rbp] 0005b 8b 8d 20 01 00 00 mov ecx, DWORD PTR interval$[rbp] 00061 89 88 c8 02 00 00 mov DWORD PTR [rax+712], ecx ; 337 : ; 338 : if (!window->monitor) 00067 48 8b 45 08 mov rax, QWORD PTR window$[rbp] 0006b 48 83 78 50 00 cmp QWORD PTR [rax+80], 0 00070 75 4b jne SHORT $LN2@swapInterv ; 339 : { ; 340 : // HACK: Disable WGL swap interval when desktop composition is enabled on Windows ; 341 : // Vista and 7 to avoid interfering with DWM vsync ; 342 : if (!IsWindows8OrGreater() && IsWindowsVistaOrGreater()) 00072 45 33 c0 xor r8d, r8d 00075 66 ba 02 00 mov dx, 2 00079 66 b9 06 00 mov cx, 6 0007d e8 00 00 00 00 call _glfwIsWindowsVersionOrGreaterWin32 00082 85 c0 test eax, eax 00084 75 37 jne SHORT $LN3@swapInterv 00086 45 33 c0 xor r8d, r8d 00089 33 d2 xor edx, edx 0008b 66 b9 06 00 mov cx, 6 0008f e8 00 00 00 00 call _glfwIsWindowsVersionOrGreaterWin32 00094 85 c0 test eax, eax 00096 74 25 je SHORT $LN3@swapInterv ; 343 : { ; 344 : BOOL enabled = FALSE; 00098 c7 45 24 00 00 00 00 mov DWORD PTR enabled$4[rbp], 0 ; 345 : ; 346 : if (SUCCEEDED(DwmIsCompositionEnabled(&enabled)) && enabled) 0009f 48 8d 4d 24 lea rcx, QWORD PTR enabled$4[rbp] 000a3 ff 15 e0 29 00 00 call QWORD PTR _glfw+10720 000a9 85 c0 test eax, eax 000ab 7c 10 jl SHORT $LN4@swapInterv 000ad 83 7d 24 00 cmp DWORD PTR enabled$4[rbp], 0 000b1 74 0a je SHORT $LN4@swapInterv ; 347 : interval = 0; 000b3 c7 85 20 01 00 00 00 00 00 00 mov DWORD PTR interval$[rbp], 0 $LN4@swapInterv: $LN3@swapInterv: $LN2@swapInterv: ; 348 : } ; 349 : } ; 350 : ; 351 : if (_glfw.wgl.EXT_swap_control) 000bd 83 3d f8 2c 00 00 00 cmp DWORD PTR _glfw+11512, 0 000c4 74 0c je SHORT $LN5@swapInterv ; 352 : wglSwapIntervalEXT(interval); 000c6 8b 8d 20 01 00 00 mov ecx, DWORD PTR interval$[rbp] 000cc ff 15 d0 2c 00 00 call QWORD PTR _glfw+11472 $LN5@swapInterv: ; 353 : } 000d2 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32] 000d6 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:swapIntervalWGL$rtcFrameData 000dd e8 00 00 00 00 call _RTC_CheckStackVars 000e2 48 8b 8d f8 00 00 00 mov rcx, QWORD PTR __$ArrayPad$[rbp] 000e9 48 33 cd xor rcx, rbp 000ec e8 00 00 00 00 call __security_check_cookie 000f1 48 8d a5 08 01 00 00 lea rsp, QWORD PTR [rbp+264] 000f8 5f pop rdi 000f9 5d pop rbp 000fa c3 ret 0 swapIntervalWGL ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu /ZI ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\wgl_context.c ; COMDAT swapBuffersWGL _TEXT SEGMENT enabled$4 = 4 count$5 = 36 tv84 = 244 __$ArrayPad$ = 248 window$ = 288 swapBuffersWGL PROC ; COMDAT ; 312 : { 00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx 00005 55 push rbp 00006 57 push rdi 00007 48 81 ec 28 01 00 00 sub rsp, 296 ; 00000128H 0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32] 00013 48 8d 7c 24 20 lea rdi, QWORD PTR [rsp+32] 00018 b9 12 00 00 00 mov ecx, 18 0001d b8 cc cc cc cc mov eax, -858993460 ; ccccccccH 00022 f3 ab rep stosd 00024 48 8b 8c 24 48 01 00 00 mov rcx, QWORD PTR [rsp+328] 0002c 48 8b 05 00 00 00 00 mov rax, QWORD PTR __security_cookie 00033 48 33 c5 xor rax, rbp 00036 48 89 85 f8 00 00 00 mov QWORD PTR __$ArrayPad$[rbp], rax 0003d 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:__3DF919D4_wgl_context@c 00044 e8 00 00 00 00 call __CheckForDebuggerJustMyCode ; 313 : if (!window->monitor) 00049 48 8b 85 20 01 00 00 mov rax, QWORD PTR window$[rbp] 00050 48 83 78 50 00 cmp QWORD PTR [rax+80], 0 00055 75 78 jne SHORT $LN4@swapBuffer ; 314 : { ; 315 : // HACK: Use DwmFlush when desktop composition is enabled on Windows Vista and 7 ; 316 : if (!IsWindows8OrGreater() && IsWindowsVistaOrGreater()) 00057 45 33 c0 xor r8d, r8d 0005a 66 ba 02 00 mov dx, 2 0005e 66 b9 06 00 mov cx, 6 00062 e8 00 00 00 00 call _glfwIsWindowsVersionOrGreaterWin32 00067 85 c0 test eax, eax 00069 75 64 jne SHORT $LN5@swapBuffer 0006b 45 33 c0 xor r8d, r8d 0006e 33 d2 xor edx, edx 00070 66 b9 06 00 mov cx, 6 00074 e8 00 00 00 00 call _glfwIsWindowsVersionOrGreaterWin32 00079 85 c0 test eax, eax 0007b 74 52 je SHORT $LN5@swapBuffer ; 317 : { ; 318 : BOOL enabled = FALSE; 0007d c7 45 04 00 00 00 00 mov DWORD PTR enabled$4[rbp], 0 ; 319 : ; 320 : if (SUCCEEDED(DwmIsCompositionEnabled(&enabled)) && enabled) 00084 48 8d 4d 04 lea rcx, QWORD PTR enabled$4[rbp] 00088 ff 15 e0 29 00 00 call QWORD PTR _glfw+10720 0008e 85 c0 test eax, eax 00090 7c 3d jl SHORT $LN6@swapBuffer 00092 83 7d 04 00 cmp DWORD PTR enabled$4[rbp], 0 00096 74 37 je SHORT $LN6@swapBuffer ; 321 : { ; 322 : int count = abs(window->context.wgl.interval); 00098 48 8b 85 20 01 00 00 mov rax, QWORD PTR window$[rbp] 0009f 8b 88 c8 02 00 00 mov ecx, DWORD PTR [rax+712] 000a5 e8 00 00 00 00 call abs 000aa 89 45 24 mov DWORD PTR count$5[rbp], eax $LN2@swapBuffer: ; 323 : while (count--) 000ad 8b 45 24 mov eax, DWORD PTR count$5[rbp] 000b0 89 85 f4 00 00 00 mov DWORD PTR tv84[rbp], eax 000b6 8b 45 24 mov eax, DWORD PTR count$5[rbp] 000b9 ff c8 dec eax 000bb 89 45 24 mov DWORD PTR count$5[rbp], eax 000be 83 bd f4 00 00 00 00 cmp DWORD PTR tv84[rbp], 0 000c5 74 08 je SHORT $LN3@swapBuffer ; 324 : DwmFlush(); 000c7 ff 15 e8 29 00 00 call QWORD PTR _glfw+10728 000cd eb de jmp SHORT $LN2@swapBuffer $LN3@swapBuffer: $LN6@swapBuffer: $LN5@swapBuffer: $LN4@swapBuffer: ; 325 : } ; 326 : } ; 327 : } ; 328 : ; 329 : SwapBuffers(window->context.wgl.dc); 000cf 48 8b 85 20 01 00 00 mov rax, QWORD PTR window$[rbp] 000d6 48 8b 88 b8 02 00 00 mov rcx, QWORD PTR [rax+696] 000dd ff 15 00 00 00 00 call QWORD PTR __imp_SwapBuffers ; 330 : } 000e3 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32] 000e7 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:swapBuffersWGL$rtcFrameData 000ee e8 00 00 00 00 call _RTC_CheckStackVars 000f3 48 8b 8d f8 00 00 00 mov rcx, QWORD PTR __$ArrayPad$[rbp] 000fa 48 33 cd xor rcx, rbp 000fd e8 00 00 00 00 call __security_check_cookie 00102 48 8d a5 08 01 00 00 lea rsp, QWORD PTR [rbp+264] 00109 5f pop rdi 0010a 5d pop rbp 0010b c3 ret 0 swapBuffersWGL ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu /ZI ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\wgl_context.c ; COMDAT makeContextCurrentWGL _TEXT SEGMENT window$ = 224 makeContextCurrentWGL PROC ; COMDAT ; 287 : { 00000 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx 00005 55 push rbp 00006 57 push rdi 00007 48 81 ec e8 00 00 00 sub rsp, 232 ; 000000e8H 0000e 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32] 00013 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:__3DF919D4_wgl_context@c 0001a e8 00 00 00 00 call __CheckForDebuggerJustMyCode ; 288 : if (window) 0001f 48 83 bd e0 00 00 00 00 cmp QWORD PTR window$[rbp], 0 00027 74 5c je SHORT $LN2@makeContex ; 289 : { ; 290 : if (wglMakeCurrent(window->context.wgl.dc, window->context.wgl.handle)) 00029 48 8b 85 e0 00 00 00 mov rax, QWORD PTR window$[rbp] 00030 48 8b 90 c0 02 00 00 mov rdx, QWORD PTR [rax+704] 00037 48 8b 85 e0 00 00 00 mov rax, QWORD PTR window$[rbp] 0003e 48 8b 88 b8 02 00 00 mov rcx, QWORD PTR [rax+696] 00045 ff 15 c0 2c 00 00 call QWORD PTR _glfw+11456 0004b 85 c0 test eax, eax 0004d 74 15 je SHORT $LN4@makeContex ; 291 : _glfwPlatformSetTls(&_glfw.contextSlot, window); 0004f 48 8b 95 e0 00 00 00 mov rdx, QWORD PTR window$[rbp] 00056 48 8d 0d a4 19 00 00 lea rcx, OFFSET FLAT:_glfw+6564 0005d e8 00 00 00 00 call _glfwPlatformSetTls 00062 eb 1f jmp SHORT $LN5@makeContex $LN4@makeContex: ; 292 : else ; 293 : { ; 294 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR, 00064 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0CE@FEGPCKPN@WGL?3?5Failed?5to?5make?5context?5cur@ 0006b b9 08 00 01 00 mov ecx, 65544 ; 00010008H 00070 e8 00 00 00 00 call _glfwInputErrorWin32 ; 295 : "WGL: Failed to make context current"); ; 296 : _glfwPlatformSetTls(&_glfw.contextSlot, NULL); 00075 33 d2 xor edx, edx 00077 48 8d 0d a4 19 00 00 lea rcx, OFFSET FLAT:_glfw+6564 0007e e8 00 00 00 00 call _glfwPlatformSetTls $LN5@makeContex: ; 297 : } ; 298 : } 00083 eb 2d jmp SHORT $LN3@makeContex $LN2@makeContex: ; 299 : else ; 300 : { ; 301 : if (!wglMakeCurrent(NULL, NULL)) 00085 33 d2 xor edx, edx 00087 33 c9 xor ecx, ecx 00089 ff 15 c0 2c 00 00 call QWORD PTR _glfw+11456 0008f 85 c0 test eax, eax 00091 75 11 jne SHORT $LN6@makeContex ; 302 : { ; 303 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR, 00093 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0CF@EKIADPFB@WGL?3?5Failed?5to?5clear?5current?5co@ 0009a b9 08 00 01 00 mov ecx, 65544 ; 00010008H 0009f e8 00 00 00 00 call _glfwInputErrorWin32 $LN6@makeContex: ; 304 : "WGL: Failed to clear current context"); ; 305 : } ; 306 : ; 307 : _glfwPlatformSetTls(&_glfw.contextSlot, NULL); 000a4 33 d2 xor edx, edx 000a6 48 8d 0d a4 19 00 00 lea rcx, OFFSET FLAT:_glfw+6564 000ad e8 00 00 00 00 call _glfwPlatformSetTls $LN3@makeContex: ; 308 : } ; 309 : } 000b2 48 8d a5 c8 00 00 00 lea rsp, QWORD PTR [rbp+200] 000b9 5f pop rdi 000ba 5d pop rbp 000bb c3 ret 0 makeContextCurrentWGL ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu /ZI ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\wgl_context.c ; COMDAT choosePixelFormatWGL _TEXT SEGMENT usableConfigs$ = 8 closest$ = 40 i$ = 68 pixelFormat$ = 100 nativeCount$ = 132 usableCount$ = 164 attribCount$ = 196 attribs$ = 240 values$ = 432 u$6 = 616 pfd$7 = 648 tv534 = 1076 __$ArrayPad$ = 1080 window$ = 1120 ctxconfig$ = 1128 fbconfig$ = 1136 choosePixelFormatWGL PROC ; COMDAT ; 70 : { 00000 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8 00005 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx 0000a 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx 0000f 55 push rbp 00010 57 push rdi 00011 48 81 ec 78 04 00 00 sub rsp, 1144 ; 00000478H 00018 48 8d 6c 24 30 lea rbp, QWORD PTR [rsp+48] 0001d 48 8d 7c 24 30 lea rdi, QWORD PTR [rsp+48] 00022 b9 b2 00 00 00 mov ecx, 178 ; 000000b2H 00027 b8 cc cc cc cc mov eax, -858993460 ; ccccccccH 0002c f3 ab rep stosd 0002e 48 8b 8c 24 98 04 00 00 mov rcx, QWORD PTR [rsp+1176] 00036 48 8b 05 00 00 00 00 mov rax, QWORD PTR __security_cookie 0003d 48 33 c5 xor rax, rbp 00040 48 89 85 38 04 00 00 mov QWORD PTR __$ArrayPad$[rbp], rax 00047 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:__3DF919D4_wgl_context@c 0004e e8 00 00 00 00 call __CheckForDebuggerJustMyCode ; 71 : _GLFWfbconfig* usableConfigs; ; 72 : const _GLFWfbconfig* closest; ; 73 : int i, pixelFormat, nativeCount, usableCount = 0, attribCount = 0; 00053 c7 85 a4 00 00 00 00 00 00 00 mov DWORD PTR usableCount$[rbp], 0 0005d c7 85 c4 00 00 00 00 00 00 00 mov DWORD PTR attribCount$[rbp], 0 ; 74 : int attribs[40]; ; 75 : int values[sizeof(attribs) / sizeof(attribs[0])]; ; 76 : ; 77 : nativeCount = DescribePixelFormat(window->context.wgl.dc, 00067 45 33 c9 xor r9d, r9d 0006a 41 b8 28 00 00 00 mov r8d, 40 ; 00000028H 00070 ba 01 00 00 00 mov edx, 1 00075 48 8b 85 60 04 00 00 mov rax, QWORD PTR window$[rbp] 0007c 48 8b 88 b8 02 00 00 mov rcx, QWORD PTR [rax+696] 00083 ff 15 00 00 00 00 call QWORD PTR __imp_DescribePixelFormat 00089 89 85 84 00 00 00 mov DWORD PTR nativeCount$[rbp], eax ; 78 : 1, ; 79 : sizeof(PIXELFORMATDESCRIPTOR), ; 80 : NULL); ; 81 : ; 82 : if (_glfw.wgl.ARB_pixel_format) 0008f 83 3d 0c 2d 00 00 00 cmp DWORD PTR _glfw+11532, 0 00096 0f 84 56 07 00 00 je $LN5@choosePixe ; 83 : { ; 84 : ADD_ATTRIB(WGL_SUPPORT_OPENGL_ARB); 0009c 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 000a3 48 83 f8 28 cmp rax, 40 ; 00000028H 000a7 72 1c jb SHORT $LN39@choosePixe 000a9 41 b8 54 00 00 00 mov r8d, 84 ; 00000054H 000af 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 000b6 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 000bd ff 15 00 00 00 00 call QWORD PTR __imp__wassert 000c3 33 c0 xor eax, eax $LN39@choosePixe: 000c5 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 000cc c7 84 85 f0 00 00 00 10 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8208 ; 00002010H 000d7 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 000dd ff c0 inc eax 000df 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 85 : ADD_ATTRIB(WGL_DRAW_TO_WINDOW_ARB); 000e5 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 000ec 48 83 f8 28 cmp rax, 40 ; 00000028H 000f0 72 1c jb SHORT $LN40@choosePixe 000f2 41 b8 55 00 00 00 mov r8d, 85 ; 00000055H 000f8 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 000ff 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 00106 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 0010c 33 c0 xor eax, eax $LN40@choosePixe: 0010e 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00115 c7 84 85 f0 00 00 00 01 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8193 ; 00002001H 00120 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 00126 ff c0 inc eax 00128 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 86 : ADD_ATTRIB(WGL_PIXEL_TYPE_ARB); 0012e 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00135 48 83 f8 28 cmp rax, 40 ; 00000028H 00139 72 1c jb SHORT $LN41@choosePixe 0013b 41 b8 56 00 00 00 mov r8d, 86 ; 00000056H 00141 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 00148 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 0014f ff 15 00 00 00 00 call QWORD PTR __imp__wassert 00155 33 c0 xor eax, eax $LN41@choosePixe: 00157 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 0015e c7 84 85 f0 00 00 00 13 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8211 ; 00002013H 00169 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 0016f ff c0 inc eax 00171 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 87 : ADD_ATTRIB(WGL_ACCELERATION_ARB); 00177 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 0017e 48 83 f8 28 cmp rax, 40 ; 00000028H 00182 72 1c jb SHORT $LN42@choosePixe 00184 41 b8 57 00 00 00 mov r8d, 87 ; 00000057H 0018a 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 00191 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 00198 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 0019e 33 c0 xor eax, eax $LN42@choosePixe: 001a0 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 001a7 c7 84 85 f0 00 00 00 03 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8195 ; 00002003H 001b2 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 001b8 ff c0 inc eax 001ba 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 88 : ADD_ATTRIB(WGL_RED_BITS_ARB); 001c0 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 001c7 48 83 f8 28 cmp rax, 40 ; 00000028H 001cb 72 1c jb SHORT $LN43@choosePixe 001cd 41 b8 58 00 00 00 mov r8d, 88 ; 00000058H 001d3 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 001da 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 001e1 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 001e7 33 c0 xor eax, eax $LN43@choosePixe: 001e9 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 001f0 c7 84 85 f0 00 00 00 15 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8213 ; 00002015H 001fb 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 00201 ff c0 inc eax 00203 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 89 : ADD_ATTRIB(WGL_RED_SHIFT_ARB); 00209 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00210 48 83 f8 28 cmp rax, 40 ; 00000028H 00214 72 1c jb SHORT $LN44@choosePixe 00216 41 b8 59 00 00 00 mov r8d, 89 ; 00000059H 0021c 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 00223 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 0022a ff 15 00 00 00 00 call QWORD PTR __imp__wassert 00230 33 c0 xor eax, eax $LN44@choosePixe: 00232 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00239 c7 84 85 f0 00 00 00 16 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8214 ; 00002016H 00244 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 0024a ff c0 inc eax 0024c 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 90 : ADD_ATTRIB(WGL_GREEN_BITS_ARB); 00252 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00259 48 83 f8 28 cmp rax, 40 ; 00000028H 0025d 72 1c jb SHORT $LN45@choosePixe 0025f 41 b8 5a 00 00 00 mov r8d, 90 ; 0000005aH 00265 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 0026c 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 00273 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 00279 33 c0 xor eax, eax $LN45@choosePixe: 0027b 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00282 c7 84 85 f0 00 00 00 17 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8215 ; 00002017H 0028d 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 00293 ff c0 inc eax 00295 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 91 : ADD_ATTRIB(WGL_GREEN_SHIFT_ARB); 0029b 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 002a2 48 83 f8 28 cmp rax, 40 ; 00000028H 002a6 72 1c jb SHORT $LN46@choosePixe 002a8 41 b8 5b 00 00 00 mov r8d, 91 ; 0000005bH 002ae 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 002b5 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 002bc ff 15 00 00 00 00 call QWORD PTR __imp__wassert 002c2 33 c0 xor eax, eax $LN46@choosePixe: 002c4 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 002cb c7 84 85 f0 00 00 00 18 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8216 ; 00002018H 002d6 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 002dc ff c0 inc eax 002de 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 92 : ADD_ATTRIB(WGL_BLUE_BITS_ARB); 002e4 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 002eb 48 83 f8 28 cmp rax, 40 ; 00000028H 002ef 72 1c jb SHORT $LN47@choosePixe 002f1 41 b8 5c 00 00 00 mov r8d, 92 ; 0000005cH 002f7 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 002fe 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 00305 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 0030b 33 c0 xor eax, eax $LN47@choosePixe: 0030d 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00314 c7 84 85 f0 00 00 00 19 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8217 ; 00002019H 0031f 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 00325 ff c0 inc eax 00327 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 93 : ADD_ATTRIB(WGL_BLUE_SHIFT_ARB); 0032d 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00334 48 83 f8 28 cmp rax, 40 ; 00000028H 00338 72 1c jb SHORT $LN48@choosePixe 0033a 41 b8 5d 00 00 00 mov r8d, 93 ; 0000005dH 00340 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 00347 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 0034e ff 15 00 00 00 00 call QWORD PTR __imp__wassert 00354 33 c0 xor eax, eax $LN48@choosePixe: 00356 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 0035d c7 84 85 f0 00 00 00 1a 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8218 ; 0000201aH 00368 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 0036e ff c0 inc eax 00370 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 94 : ADD_ATTRIB(WGL_ALPHA_BITS_ARB); 00376 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 0037d 48 83 f8 28 cmp rax, 40 ; 00000028H 00381 72 1c jb SHORT $LN49@choosePixe 00383 41 b8 5e 00 00 00 mov r8d, 94 ; 0000005eH 00389 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 00390 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 00397 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 0039d 33 c0 xor eax, eax $LN49@choosePixe: 0039f 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 003a6 c7 84 85 f0 00 00 00 1b 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8219 ; 0000201bH 003b1 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 003b7 ff c0 inc eax 003b9 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 95 : ADD_ATTRIB(WGL_ALPHA_SHIFT_ARB); 003bf 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 003c6 48 83 f8 28 cmp rax, 40 ; 00000028H 003ca 72 1c jb SHORT $LN50@choosePixe 003cc 41 b8 5f 00 00 00 mov r8d, 95 ; 0000005fH 003d2 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 003d9 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 003e0 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 003e6 33 c0 xor eax, eax $LN50@choosePixe: 003e8 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 003ef c7 84 85 f0 00 00 00 1c 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8220 ; 0000201cH 003fa 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 00400 ff c0 inc eax 00402 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 96 : ADD_ATTRIB(WGL_DEPTH_BITS_ARB); 00408 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 0040f 48 83 f8 28 cmp rax, 40 ; 00000028H 00413 72 1c jb SHORT $LN51@choosePixe 00415 41 b8 60 00 00 00 mov r8d, 96 ; 00000060H 0041b 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 00422 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 00429 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 0042f 33 c0 xor eax, eax $LN51@choosePixe: 00431 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00438 c7 84 85 f0 00 00 00 22 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8226 ; 00002022H 00443 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 00449 ff c0 inc eax 0044b 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 97 : ADD_ATTRIB(WGL_STENCIL_BITS_ARB); 00451 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00458 48 83 f8 28 cmp rax, 40 ; 00000028H 0045c 72 1c jb SHORT $LN52@choosePixe 0045e 41 b8 61 00 00 00 mov r8d, 97 ; 00000061H 00464 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 0046b 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 00472 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 00478 33 c0 xor eax, eax $LN52@choosePixe: 0047a 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00481 c7 84 85 f0 00 00 00 23 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8227 ; 00002023H 0048c 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 00492 ff c0 inc eax 00494 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 98 : ADD_ATTRIB(WGL_ACCUM_BITS_ARB); 0049a 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 004a1 48 83 f8 28 cmp rax, 40 ; 00000028H 004a5 72 1c jb SHORT $LN53@choosePixe 004a7 41 b8 62 00 00 00 mov r8d, 98 ; 00000062H 004ad 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 004b4 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 004bb ff 15 00 00 00 00 call QWORD PTR __imp__wassert 004c1 33 c0 xor eax, eax $LN53@choosePixe: 004c3 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 004ca c7 84 85 f0 00 00 00 1d 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8221 ; 0000201dH 004d5 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 004db ff c0 inc eax 004dd 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 99 : ADD_ATTRIB(WGL_ACCUM_RED_BITS_ARB); 004e3 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 004ea 48 83 f8 28 cmp rax, 40 ; 00000028H 004ee 72 1c jb SHORT $LN54@choosePixe 004f0 41 b8 63 00 00 00 mov r8d, 99 ; 00000063H 004f6 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 004fd 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 00504 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 0050a 33 c0 xor eax, eax $LN54@choosePixe: 0050c 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00513 c7 84 85 f0 00 00 00 1e 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8222 ; 0000201eH 0051e 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 00524 ff c0 inc eax 00526 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 100 : ADD_ATTRIB(WGL_ACCUM_GREEN_BITS_ARB); 0052c 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00533 48 83 f8 28 cmp rax, 40 ; 00000028H 00537 72 1c jb SHORT $LN55@choosePixe 00539 41 b8 64 00 00 00 mov r8d, 100 ; 00000064H 0053f 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 00546 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 0054d ff 15 00 00 00 00 call QWORD PTR __imp__wassert 00553 33 c0 xor eax, eax $LN55@choosePixe: 00555 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 0055c c7 84 85 f0 00 00 00 1f 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8223 ; 0000201fH 00567 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 0056d ff c0 inc eax 0056f 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 101 : ADD_ATTRIB(WGL_ACCUM_BLUE_BITS_ARB); 00575 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 0057c 48 83 f8 28 cmp rax, 40 ; 00000028H 00580 72 1c jb SHORT $LN56@choosePixe 00582 41 b8 65 00 00 00 mov r8d, 101 ; 00000065H 00588 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 0058f 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 00596 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 0059c 33 c0 xor eax, eax $LN56@choosePixe: 0059e 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 005a5 c7 84 85 f0 00 00 00 20 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8224 ; 00002020H 005b0 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 005b6 ff c0 inc eax 005b8 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 102 : ADD_ATTRIB(WGL_ACCUM_ALPHA_BITS_ARB); 005be 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 005c5 48 83 f8 28 cmp rax, 40 ; 00000028H 005c9 72 1c jb SHORT $LN57@choosePixe 005cb 41 b8 66 00 00 00 mov r8d, 102 ; 00000066H 005d1 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 005d8 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 005df ff 15 00 00 00 00 call QWORD PTR __imp__wassert 005e5 33 c0 xor eax, eax $LN57@choosePixe: 005e7 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 005ee c7 84 85 f0 00 00 00 21 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8225 ; 00002021H 005f9 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 005ff ff c0 inc eax 00601 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 103 : ADD_ATTRIB(WGL_AUX_BUFFERS_ARB); 00607 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 0060e 48 83 f8 28 cmp rax, 40 ; 00000028H 00612 72 1c jb SHORT $LN58@choosePixe 00614 41 b8 67 00 00 00 mov r8d, 103 ; 00000067H 0061a 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 00621 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 00628 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 0062e 33 c0 xor eax, eax $LN58@choosePixe: 00630 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00637 c7 84 85 f0 00 00 00 24 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8228 ; 00002024H 00642 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 00648 ff c0 inc eax 0064a 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 104 : ADD_ATTRIB(WGL_STEREO_ARB); 00650 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00657 48 83 f8 28 cmp rax, 40 ; 00000028H 0065b 72 1c jb SHORT $LN59@choosePixe 0065d 41 b8 68 00 00 00 mov r8d, 104 ; 00000068H 00663 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 0066a 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 00671 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 00677 33 c0 xor eax, eax $LN59@choosePixe: 00679 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00680 c7 84 85 f0 00 00 00 12 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8210 ; 00002012H 0068b 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 00691 ff c0 inc eax 00693 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 105 : ADD_ATTRIB(WGL_DOUBLE_BUFFER_ARB); 00699 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 006a0 48 83 f8 28 cmp rax, 40 ; 00000028H 006a4 72 1c jb SHORT $LN60@choosePixe 006a6 41 b8 69 00 00 00 mov r8d, 105 ; 00000069H 006ac 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 006b3 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 006ba ff 15 00 00 00 00 call QWORD PTR __imp__wassert 006c0 33 c0 xor eax, eax $LN60@choosePixe: 006c2 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 006c9 c7 84 85 f0 00 00 00 11 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8209 ; 00002011H 006d4 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 006da ff c0 inc eax 006dc 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax ; 106 : ; 107 : if (_glfw.wgl.ARB_multisample) 006e2 83 3d 00 2d 00 00 00 cmp DWORD PTR _glfw+11520, 0 006e9 74 49 je SHORT $LN6@choosePixe ; 108 : ADD_ATTRIB(WGL_SAMPLES_ARB); 006eb 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 006f2 48 83 f8 28 cmp rax, 40 ; 00000028H 006f6 72 1c jb SHORT $LN61@choosePixe 006f8 41 b8 6c 00 00 00 mov r8d, 108 ; 0000006cH 006fe 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 00705 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 0070c ff 15 00 00 00 00 call QWORD PTR __imp__wassert 00712 33 c0 xor eax, eax $LN61@choosePixe: 00714 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 0071b c7 84 85 f0 00 00 00 42 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8258 ; 00002042H 00726 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 0072c ff c0 inc eax 0072e 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax $LN6@choosePixe: ; 109 : ; 110 : if (ctxconfig->client == GLFW_OPENGL_API) 00734 48 8b 85 68 04 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 0073b 81 38 01 00 03 00 cmp DWORD PTR [rax], 196609 ; 00030001H 00741 75 5d jne SHORT $LN7@choosePixe ; 111 : { ; 112 : if (_glfw.wgl.ARB_framebuffer_sRGB || _glfw.wgl.EXT_framebuffer_sRGB) 00743 83 3d 04 2d 00 00 00 cmp DWORD PTR _glfw+11524, 0 0074a 75 09 jne SHORT $LN10@choosePixe 0074c 83 3d 08 2d 00 00 00 cmp DWORD PTR _glfw+11528, 0 00753 74 49 je SHORT $LN9@choosePixe $LN10@choosePixe: ; 113 : ADD_ATTRIB(WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB); 00755 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 0075c 48 83 f8 28 cmp rax, 40 ; 00000028H 00760 72 1c jb SHORT $LN62@choosePixe 00762 41 b8 71 00 00 00 mov r8d, 113 ; 00000071H 00768 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 0076f 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 00776 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 0077c 33 c0 xor eax, eax $LN62@choosePixe: 0077e 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 00785 c7 84 85 f0 00 00 00 a9 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8361 ; 000020a9H 00790 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 00796 ff c0 inc eax 00798 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax $LN9@choosePixe: ; 114 : } 0079e eb 52 jmp SHORT $LN8@choosePixe $LN7@choosePixe: ; 115 : else ; 116 : { ; 117 : if (_glfw.wgl.EXT_colorspace) 007a0 83 3d fc 2c 00 00 00 cmp DWORD PTR _glfw+11516, 0 007a7 74 49 je SHORT $LN11@choosePixe ; 118 : ADD_ATTRIB(WGL_COLORSPACE_EXT); 007a9 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 007b0 48 83 f8 28 cmp rax, 40 ; 00000028H 007b4 72 1c jb SHORT $LN63@choosePixe 007b6 41 b8 76 00 00 00 mov r8d, 118 ; 00000076H 007bc 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 007c3 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@KIFCDLM@?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAa?$AAt?$AAt?$AAr?$AAi?$AAb@ 007ca ff 15 00 00 00 00 call QWORD PTR __imp__wassert 007d0 33 c0 xor eax, eax $LN63@choosePixe: 007d2 48 63 85 c4 00 00 00 movsxd rax, DWORD PTR attribCount$[rbp] 007d9 c7 84 85 f0 00 00 00 9d 30 00 00 mov DWORD PTR attribs$[rbp+rax*4], 12445 ; 0000309dH 007e4 8b 85 c4 00 00 00 mov eax, DWORD PTR attribCount$[rbp] 007ea ff c0 inc eax 007ec 89 85 c4 00 00 00 mov DWORD PTR attribCount$[rbp], eax $LN11@choosePixe: $LN8@choosePixe: $LN5@choosePixe: ; 119 : } ; 120 : } ; 121 : ; 122 : usableConfigs = _glfw_calloc(nativeCount, sizeof(_GLFWfbconfig)); 007f2 48 63 85 84 00 00 00 movsxd rax, DWORD PTR nativeCount$[rbp] 007f9 ba 48 00 00 00 mov edx, 72 ; 00000048H 007fe 48 8b c8 mov rcx, rax 00801 e8 00 00 00 00 call _glfw_calloc 00806 48 89 45 08 mov QWORD PTR usableConfigs$[rbp], rax ; 123 : ; 124 : for (i = 0; i < nativeCount; i++) 0080a c7 45 44 00 00 00 00 mov DWORD PTR i$[rbp], 0 00811 eb 08 jmp SHORT $LN4@choosePixe $LN2@choosePixe: 00813 8b 45 44 mov eax, DWORD PTR i$[rbp] 00816 ff c0 inc eax 00818 89 45 44 mov DWORD PTR i$[rbp], eax $LN4@choosePixe: 0081b 8b 85 84 00 00 00 mov eax, DWORD PTR nativeCount$[rbp] 00821 39 45 44 cmp DWORD PTR i$[rbp], eax 00824 0f 8d e5 05 00 00 jge $LN3@choosePixe ; 125 : { ; 126 : _GLFWfbconfig* u = usableConfigs + usableCount; 0082a 48 63 85 a4 00 00 00 movsxd rax, DWORD PTR usableCount$[rbp] 00831 48 6b c0 48 imul rax, rax, 72 ; 00000048H 00835 48 8b 4d 08 mov rcx, QWORD PTR usableConfigs$[rbp] 00839 48 03 c8 add rcx, rax 0083c 48 8b c1 mov rax, rcx 0083f 48 89 85 68 02 00 00 mov QWORD PTR u$6[rbp], rax ; 127 : pixelFormat = i + 1; 00846 8b 45 44 mov eax, DWORD PTR i$[rbp] 00849 ff c0 inc eax 0084b 89 45 64 mov DWORD PTR pixelFormat$[rbp], eax ; 128 : ; 129 : if (_glfw.wgl.ARB_pixel_format) 0084e 83 3d 0c 2d 00 00 00 cmp DWORD PTR _glfw+11532, 0 00855 0f 84 ea 03 00 00 je $LN12@choosePixe ; 130 : { ; 131 : // Get pixel format attributes through "modern" extension ; 132 : ; 133 : if (!wglGetPixelFormatAttribivARB(window->context.wgl.dc, 0085b 48 8d 85 b0 01 00 00 lea rax, QWORD PTR values$[rbp] 00862 48 89 44 24 28 mov QWORD PTR [rsp+40], rax 00867 48 8d 85 f0 00 00 00 lea rax, QWORD PTR attribs$[rbp] 0086e 48 89 44 24 20 mov QWORD PTR [rsp+32], rax 00873 44 8b 8d c4 00 00 00 mov r9d, DWORD PTR attribCount$[rbp] 0087a 45 33 c0 xor r8d, r8d 0087d 8b 55 64 mov edx, DWORD PTR pixelFormat$[rbp] 00880 48 8b 85 60 04 00 00 mov rax, QWORD PTR window$[rbp] 00887 48 8b 88 b8 02 00 00 mov rcx, QWORD PTR [rax+696] 0088e ff 15 d8 2c 00 00 call QWORD PTR _glfw+11480 00894 85 c0 test eax, eax 00896 75 21 jne SHORT $LN14@choosePixe ; 134 : pixelFormat, 0, ; 135 : attribCount, ; 136 : attribs, values)) ; 137 : { ; 138 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR, 00898 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0DA@LMPKCOPB@WGL?3?5Failed?5to?5retrieve?5pixel?5f@ 0089f b9 08 00 01 00 mov ecx, 65544 ; 00010008H 008a4 e8 00 00 00 00 call _glfwInputErrorWin32 ; 139 : "WGL: Failed to retrieve pixel format attributes"); ; 140 : ; 141 : _glfw_free(usableConfigs); 008a9 48 8b 4d 08 mov rcx, QWORD PTR usableConfigs$[rbp] 008ad e8 00 00 00 00 call _glfw_free ; 142 : return 0; 008b2 33 c0 xor eax, eax 008b4 e9 d3 05 00 00 jmp $LN1@choosePixe $LN14@choosePixe: ; 143 : } ; 144 : ; 145 : if (!FIND_ATTRIB_VALUE(WGL_SUPPORT_OPENGL_ARB) || 008b9 41 b9 10 20 00 00 mov r9d, 8208 ; 00002010H 008bf 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 008c6 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 008cc 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 008d3 e8 00 00 00 00 call findPixelFormatAttribValueWGL 008d8 85 c0 test eax, eax 008da 74 23 je SHORT $LN16@choosePixe 008dc 41 b9 01 20 00 00 mov r9d, 8193 ; 00002001H 008e2 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 008e9 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 008ef 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 008f6 e8 00 00 00 00 call findPixelFormatAttribValueWGL 008fb 85 c0 test eax, eax 008fd 75 05 jne SHORT $LN15@choosePixe $LN16@choosePixe: ; 146 : !FIND_ATTRIB_VALUE(WGL_DRAW_TO_WINDOW_ARB)) ; 147 : { ; 148 : continue; 008ff e9 0f ff ff ff jmp $LN2@choosePixe $LN15@choosePixe: ; 149 : } ; 150 : ; 151 : if (FIND_ATTRIB_VALUE(WGL_PIXEL_TYPE_ARB) != WGL_TYPE_RGBA_ARB) 00904 41 b9 13 20 00 00 mov r9d, 8211 ; 00002013H 0090a 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00911 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00917 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 0091e e8 00 00 00 00 call findPixelFormatAttribValueWGL 00923 3d 2b 20 00 00 cmp eax, 8235 ; 0000202bH 00928 74 05 je SHORT $LN17@choosePixe ; 152 : continue; 0092a e9 e4 fe ff ff jmp $LN2@choosePixe $LN17@choosePixe: ; 153 : ; 154 : if (FIND_ATTRIB_VALUE(WGL_ACCELERATION_ARB) == WGL_NO_ACCELERATION_ARB) 0092f 41 b9 03 20 00 00 mov r9d, 8195 ; 00002003H 00935 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 0093c 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00942 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00949 e8 00 00 00 00 call findPixelFormatAttribValueWGL 0094e 3d 25 20 00 00 cmp eax, 8229 ; 00002025H 00953 75 05 jne SHORT $LN18@choosePixe ; 155 : continue; 00955 e9 b9 fe ff ff jmp $LN2@choosePixe $LN18@choosePixe: ; 156 : ; 157 : if (FIND_ATTRIB_VALUE(WGL_DOUBLE_BUFFER_ARB) != fbconfig->doublebuffer) 0095a 41 b9 11 20 00 00 mov r9d, 8209 ; 00002011H 00960 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00967 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 0096d 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00974 e8 00 00 00 00 call findPixelFormatAttribValueWGL 00979 48 8b 8d 70 04 00 00 mov rcx, QWORD PTR fbconfig$[rbp] 00980 3b 41 38 cmp eax, DWORD PTR [rcx+56] 00983 74 05 je SHORT $LN19@choosePixe ; 158 : continue; 00985 e9 89 fe ff ff jmp $LN2@choosePixe $LN19@choosePixe: ; 159 : ; 160 : u->redBits = FIND_ATTRIB_VALUE(WGL_RED_BITS_ARB); 0098a 41 b9 15 20 00 00 mov r9d, 8213 ; 00002015H 00990 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00997 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 0099d 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 009a4 e8 00 00 00 00 call findPixelFormatAttribValueWGL 009a9 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 009b0 89 01 mov DWORD PTR [rcx], eax ; 161 : u->greenBits = FIND_ATTRIB_VALUE(WGL_GREEN_BITS_ARB); 009b2 41 b9 17 20 00 00 mov r9d, 8215 ; 00002017H 009b8 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 009bf 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 009c5 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 009cc e8 00 00 00 00 call findPixelFormatAttribValueWGL 009d1 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 009d8 89 41 04 mov DWORD PTR [rcx+4], eax ; 162 : u->blueBits = FIND_ATTRIB_VALUE(WGL_BLUE_BITS_ARB); 009db 41 b9 19 20 00 00 mov r9d, 8217 ; 00002019H 009e1 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 009e8 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 009ee 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 009f5 e8 00 00 00 00 call findPixelFormatAttribValueWGL 009fa 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00a01 89 41 08 mov DWORD PTR [rcx+8], eax ; 163 : u->alphaBits = FIND_ATTRIB_VALUE(WGL_ALPHA_BITS_ARB); 00a04 41 b9 1b 20 00 00 mov r9d, 8219 ; 0000201bH 00a0a 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00a11 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00a17 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00a1e e8 00 00 00 00 call findPixelFormatAttribValueWGL 00a23 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00a2a 89 41 0c mov DWORD PTR [rcx+12], eax ; 164 : ; 165 : u->depthBits = FIND_ATTRIB_VALUE(WGL_DEPTH_BITS_ARB); 00a2d 41 b9 22 20 00 00 mov r9d, 8226 ; 00002022H 00a33 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00a3a 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00a40 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00a47 e8 00 00 00 00 call findPixelFormatAttribValueWGL 00a4c 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00a53 89 41 10 mov DWORD PTR [rcx+16], eax ; 166 : u->stencilBits = FIND_ATTRIB_VALUE(WGL_STENCIL_BITS_ARB); 00a56 41 b9 23 20 00 00 mov r9d, 8227 ; 00002023H 00a5c 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00a63 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00a69 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00a70 e8 00 00 00 00 call findPixelFormatAttribValueWGL 00a75 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00a7c 89 41 14 mov DWORD PTR [rcx+20], eax ; 167 : ; 168 : u->accumRedBits = FIND_ATTRIB_VALUE(WGL_ACCUM_RED_BITS_ARB); 00a7f 41 b9 1e 20 00 00 mov r9d, 8222 ; 0000201eH 00a85 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00a8c 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00a92 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00a99 e8 00 00 00 00 call findPixelFormatAttribValueWGL 00a9e 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00aa5 89 41 18 mov DWORD PTR [rcx+24], eax ; 169 : u->accumGreenBits = FIND_ATTRIB_VALUE(WGL_ACCUM_GREEN_BITS_ARB); 00aa8 41 b9 1f 20 00 00 mov r9d, 8223 ; 0000201fH 00aae 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00ab5 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00abb 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00ac2 e8 00 00 00 00 call findPixelFormatAttribValueWGL 00ac7 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00ace 89 41 1c mov DWORD PTR [rcx+28], eax ; 170 : u->accumBlueBits = FIND_ATTRIB_VALUE(WGL_ACCUM_BLUE_BITS_ARB); 00ad1 41 b9 20 20 00 00 mov r9d, 8224 ; 00002020H 00ad7 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00ade 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00ae4 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00aeb e8 00 00 00 00 call findPixelFormatAttribValueWGL 00af0 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00af7 89 41 20 mov DWORD PTR [rcx+32], eax ; 171 : u->accumAlphaBits = FIND_ATTRIB_VALUE(WGL_ACCUM_ALPHA_BITS_ARB); 00afa 41 b9 21 20 00 00 mov r9d, 8225 ; 00002021H 00b00 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00b07 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00b0d 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00b14 e8 00 00 00 00 call findPixelFormatAttribValueWGL 00b19 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00b20 89 41 24 mov DWORD PTR [rcx+36], eax ; 172 : ; 173 : u->auxBuffers = FIND_ATTRIB_VALUE(WGL_AUX_BUFFERS_ARB); 00b23 41 b9 24 20 00 00 mov r9d, 8228 ; 00002024H 00b29 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00b30 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00b36 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00b3d e8 00 00 00 00 call findPixelFormatAttribValueWGL 00b42 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00b49 89 41 28 mov DWORD PTR [rcx+40], eax ; 174 : ; 175 : if (FIND_ATTRIB_VALUE(WGL_STEREO_ARB)) 00b4c 41 b9 12 20 00 00 mov r9d, 8210 ; 00002012H 00b52 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00b59 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00b5f 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00b66 e8 00 00 00 00 call findPixelFormatAttribValueWGL 00b6b 85 c0 test eax, eax 00b6d 74 0e je SHORT $LN20@choosePixe ; 176 : u->stereo = GLFW_TRUE; 00b6f 48 8b 85 68 02 00 00 mov rax, QWORD PTR u$6[rbp] 00b76 c7 40 2c 01 00 00 00 mov DWORD PTR [rax+44], 1 $LN20@choosePixe: ; 177 : ; 178 : if (_glfw.wgl.ARB_multisample) 00b7d 83 3d 00 2d 00 00 00 cmp DWORD PTR _glfw+11520, 0 00b84 74 29 je SHORT $LN21@choosePixe ; 179 : u->samples = FIND_ATTRIB_VALUE(WGL_SAMPLES_ARB); 00b86 41 b9 42 20 00 00 mov r9d, 8258 ; 00002042H 00b8c 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00b93 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00b99 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00ba0 e8 00 00 00 00 call findPixelFormatAttribValueWGL 00ba5 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00bac 89 41 30 mov DWORD PTR [rcx+48], eax $LN21@choosePixe: ; 180 : ; 181 : if (ctxconfig->client == GLFW_OPENGL_API) 00baf 48 8b 85 68 04 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00bb6 81 38 01 00 03 00 cmp DWORD PTR [rax], 196609 ; 00030001H 00bbc 75 45 jne SHORT $LN22@choosePixe ; 182 : { ; 183 : if (_glfw.wgl.ARB_framebuffer_sRGB || 00bbe 83 3d 04 2d 00 00 00 cmp DWORD PTR _glfw+11524, 0 00bc5 75 09 jne SHORT $LN25@choosePixe 00bc7 83 3d 08 2d 00 00 00 cmp DWORD PTR _glfw+11528, 0 00bce 74 31 je SHORT $LN24@choosePixe $LN25@choosePixe: ; 184 : _glfw.wgl.EXT_framebuffer_sRGB) ; 185 : { ; 186 : if (FIND_ATTRIB_VALUE(WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB)) 00bd0 41 b9 a9 20 00 00 mov r9d, 8361 ; 000020a9H 00bd6 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00bdd 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00be3 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00bea e8 00 00 00 00 call findPixelFormatAttribValueWGL 00bef 85 c0 test eax, eax 00bf1 74 0e je SHORT $LN26@choosePixe ; 187 : u->sRGB = GLFW_TRUE; 00bf3 48 8b 85 68 02 00 00 mov rax, QWORD PTR u$6[rbp] 00bfa c7 40 34 01 00 00 00 mov DWORD PTR [rax+52], 1 $LN26@choosePixe: $LN24@choosePixe: ; 188 : } ; 189 : } 00c01 eb 3d jmp SHORT $LN23@choosePixe $LN22@choosePixe: ; 190 : else ; 191 : { ; 192 : if (_glfw.wgl.EXT_colorspace) 00c03 83 3d fc 2c 00 00 00 cmp DWORD PTR _glfw+11516, 0 00c0a 74 34 je SHORT $LN27@choosePixe ; 193 : { ; 194 : if (FIND_ATTRIB_VALUE(WGL_COLORSPACE_EXT) == WGL_COLORSPACE_SRGB_EXT) 00c0c 41 b9 9d 30 00 00 mov r9d, 12445 ; 0000309dH 00c12 4c 8d 85 b0 01 00 00 lea r8, QWORD PTR values$[rbp] 00c19 8b 95 c4 00 00 00 mov edx, DWORD PTR attribCount$[rbp] 00c1f 48 8d 8d f0 00 00 00 lea rcx, QWORD PTR attribs$[rbp] 00c26 e8 00 00 00 00 call findPixelFormatAttribValueWGL 00c2b 3d 89 30 00 00 cmp eax, 12425 ; 00003089H 00c30 75 0e jne SHORT $LN28@choosePixe ; 195 : u->sRGB = GLFW_TRUE; 00c32 48 8b 85 68 02 00 00 mov rax, QWORD PTR u$6[rbp] 00c39 c7 40 34 01 00 00 00 mov DWORD PTR [rax+52], 1 $LN28@choosePixe: $LN27@choosePixe: $LN23@choosePixe: ; 196 : } ; 197 : } ; 198 : } 00c40 e9 a8 01 00 00 jmp $LN13@choosePixe $LN12@choosePixe: ; 199 : else ; 200 : { ; 201 : // Get pixel format attributes through legacy PFDs ; 202 : ; 203 : PIXELFORMATDESCRIPTOR pfd; ; 204 : ; 205 : if (!DescribePixelFormat(window->context.wgl.dc, 00c45 4c 8d 8d 88 02 00 00 lea r9, QWORD PTR pfd$7[rbp] 00c4c 41 b8 28 00 00 00 mov r8d, 40 ; 00000028H 00c52 8b 55 64 mov edx, DWORD PTR pixelFormat$[rbp] 00c55 48 8b 85 60 04 00 00 mov rax, QWORD PTR window$[rbp] 00c5c 48 8b 88 b8 02 00 00 mov rcx, QWORD PTR [rax+696] 00c63 ff 15 00 00 00 00 call QWORD PTR __imp_DescribePixelFormat 00c69 85 c0 test eax, eax 00c6b 75 21 jne SHORT $LN29@choosePixe ; 206 : pixelFormat, ; 207 : sizeof(PIXELFORMATDESCRIPTOR), ; 208 : &pfd)) ; 209 : { ; 210 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR, 00c6d 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0CF@OGLFKBHA@WGL?3?5Failed?5to?5describe?5pixel?5f@ 00c74 b9 08 00 01 00 mov ecx, 65544 ; 00010008H 00c79 e8 00 00 00 00 call _glfwInputErrorWin32 ; 211 : "WGL: Failed to describe pixel format"); ; 212 : ; 213 : _glfw_free(usableConfigs); 00c7e 48 8b 4d 08 mov rcx, QWORD PTR usableConfigs$[rbp] 00c82 e8 00 00 00 00 call _glfw_free ; 214 : return 0; 00c87 33 c0 xor eax, eax 00c89 e9 fe 01 00 00 jmp $LN1@choosePixe $LN29@choosePixe: ; 215 : } ; 216 : ; 217 : if (!(pfd.dwFlags & PFD_DRAW_TO_WINDOW) || 00c8e 8b 85 8c 02 00 00 mov eax, DWORD PTR pfd$7[rbp+4] 00c94 83 e0 04 and eax, 4 00c97 85 c0 test eax, eax 00c99 74 0d je SHORT $LN31@choosePixe 00c9b 8b 85 8c 02 00 00 mov eax, DWORD PTR pfd$7[rbp+4] 00ca1 83 e0 20 and eax, 32 ; 00000020H 00ca4 85 c0 test eax, eax 00ca6 75 05 jne SHORT $LN30@choosePixe $LN31@choosePixe: ; 218 : !(pfd.dwFlags & PFD_SUPPORT_OPENGL)) ; 219 : { ; 220 : continue; 00ca8 e9 66 fb ff ff jmp $LN2@choosePixe $LN30@choosePixe: ; 221 : } ; 222 : ; 223 : if (!(pfd.dwFlags & PFD_GENERIC_ACCELERATED) && 00cad 8b 85 8c 02 00 00 mov eax, DWORD PTR pfd$7[rbp+4] 00cb3 25 00 10 00 00 and eax, 4096 ; 00001000H 00cb8 85 c0 test eax, eax 00cba 75 12 jne SHORT $LN32@choosePixe 00cbc 8b 85 8c 02 00 00 mov eax, DWORD PTR pfd$7[rbp+4] 00cc2 83 e0 40 and eax, 64 ; 00000040H 00cc5 85 c0 test eax, eax 00cc7 74 05 je SHORT $LN32@choosePixe ; 224 : (pfd.dwFlags & PFD_GENERIC_FORMAT)) ; 225 : { ; 226 : continue; 00cc9 e9 45 fb ff ff jmp $LN2@choosePixe $LN32@choosePixe: ; 227 : } ; 228 : ; 229 : if (pfd.iPixelType != PFD_TYPE_RGBA) 00cce 0f b6 85 90 02 00 00 movzx eax, BYTE PTR pfd$7[rbp+8] 00cd5 85 c0 test eax, eax 00cd7 74 05 je SHORT $LN33@choosePixe ; 230 : continue; 00cd9 e9 35 fb ff ff jmp $LN2@choosePixe $LN33@choosePixe: ; 231 : ; 232 : if (!!(pfd.dwFlags & PFD_DOUBLEBUFFER) != fbconfig->doublebuffer) 00cde 8b 85 8c 02 00 00 mov eax, DWORD PTR pfd$7[rbp+4] 00ce4 83 e0 01 and eax, 1 00ce7 85 c0 test eax, eax 00ce9 74 0c je SHORT $LN64@choosePixe 00ceb c7 85 34 04 00 00 01 00 00 00 mov DWORD PTR tv534[rbp], 1 00cf5 eb 0a jmp SHORT $LN65@choosePixe $LN64@choosePixe: 00cf7 c7 85 34 04 00 00 00 00 00 00 mov DWORD PTR tv534[rbp], 0 $LN65@choosePixe: 00d01 48 8b 85 70 04 00 00 mov rax, QWORD PTR fbconfig$[rbp] 00d08 8b 40 38 mov eax, DWORD PTR [rax+56] 00d0b 39 85 34 04 00 00 cmp DWORD PTR tv534[rbp], eax 00d11 74 05 je SHORT $LN34@choosePixe ; 233 : continue; 00d13 e9 fb fa ff ff jmp $LN2@choosePixe $LN34@choosePixe: ; 234 : ; 235 : u->redBits = pfd.cRedBits; 00d18 0f b6 85 92 02 00 00 movzx eax, BYTE PTR pfd$7[rbp+10] 00d1f 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00d26 89 01 mov DWORD PTR [rcx], eax ; 236 : u->greenBits = pfd.cGreenBits; 00d28 0f b6 85 94 02 00 00 movzx eax, BYTE PTR pfd$7[rbp+12] 00d2f 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00d36 89 41 04 mov DWORD PTR [rcx+4], eax ; 237 : u->blueBits = pfd.cBlueBits; 00d39 0f b6 85 96 02 00 00 movzx eax, BYTE PTR pfd$7[rbp+14] 00d40 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00d47 89 41 08 mov DWORD PTR [rcx+8], eax ; 238 : u->alphaBits = pfd.cAlphaBits; 00d4a 0f b6 85 98 02 00 00 movzx eax, BYTE PTR pfd$7[rbp+16] 00d51 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00d58 89 41 0c mov DWORD PTR [rcx+12], eax ; 239 : ; 240 : u->depthBits = pfd.cDepthBits; 00d5b 0f b6 85 9f 02 00 00 movzx eax, BYTE PTR pfd$7[rbp+23] 00d62 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00d69 89 41 10 mov DWORD PTR [rcx+16], eax ; 241 : u->stencilBits = pfd.cStencilBits; 00d6c 0f b6 85 a0 02 00 00 movzx eax, BYTE PTR pfd$7[rbp+24] 00d73 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00d7a 89 41 14 mov DWORD PTR [rcx+20], eax ; 242 : ; 243 : u->accumRedBits = pfd.cAccumRedBits; 00d7d 0f b6 85 9b 02 00 00 movzx eax, BYTE PTR pfd$7[rbp+19] 00d84 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00d8b 89 41 18 mov DWORD PTR [rcx+24], eax ; 244 : u->accumGreenBits = pfd.cAccumGreenBits; 00d8e 0f b6 85 9c 02 00 00 movzx eax, BYTE PTR pfd$7[rbp+20] 00d95 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00d9c 89 41 1c mov DWORD PTR [rcx+28], eax ; 245 : u->accumBlueBits = pfd.cAccumBlueBits; 00d9f 0f b6 85 9d 02 00 00 movzx eax, BYTE PTR pfd$7[rbp+21] 00da6 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00dad 89 41 20 mov DWORD PTR [rcx+32], eax ; 246 : u->accumAlphaBits = pfd.cAccumAlphaBits; 00db0 0f b6 85 9e 02 00 00 movzx eax, BYTE PTR pfd$7[rbp+22] 00db7 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00dbe 89 41 24 mov DWORD PTR [rcx+36], eax ; 247 : ; 248 : u->auxBuffers = pfd.cAuxBuffers; 00dc1 0f b6 85 a1 02 00 00 movzx eax, BYTE PTR pfd$7[rbp+25] 00dc8 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00dcf 89 41 28 mov DWORD PTR [rcx+40], eax ; 249 : ; 250 : if (pfd.dwFlags & PFD_STEREO) 00dd2 8b 85 8c 02 00 00 mov eax, DWORD PTR pfd$7[rbp+4] 00dd8 83 e0 02 and eax, 2 00ddb 85 c0 test eax, eax 00ddd 74 0e je SHORT $LN35@choosePixe ; 251 : u->stereo = GLFW_TRUE; 00ddf 48 8b 85 68 02 00 00 mov rax, QWORD PTR u$6[rbp] 00de6 c7 40 2c 01 00 00 00 mov DWORD PTR [rax+44], 1 $LN35@choosePixe: $LN13@choosePixe: ; 252 : } ; 253 : ; 254 : u->handle = pixelFormat; 00ded 48 63 45 64 movsxd rax, DWORD PTR pixelFormat$[rbp] 00df1 48 8b 8d 68 02 00 00 mov rcx, QWORD PTR u$6[rbp] 00df8 48 89 41 40 mov QWORD PTR [rcx+64], rax ; 255 : usableCount++; 00dfc 8b 85 a4 00 00 00 mov eax, DWORD PTR usableCount$[rbp] 00e02 ff c0 inc eax 00e04 89 85 a4 00 00 00 mov DWORD PTR usableCount$[rbp], eax ; 256 : } 00e0a e9 04 fa ff ff jmp $LN2@choosePixe $LN3@choosePixe: ; 257 : ; 258 : if (!usableCount) 00e0f 83 bd a4 00 00 00 00 cmp DWORD PTR usableCount$[rbp], 0 00e16 75 1e jne SHORT $LN36@choosePixe ; 259 : { ; 260 : _glfwInputError(GLFW_API_UNAVAILABLE, 00e18 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0DC@HFHALHIB@WGL?3?5The?5driver?5does?5not?5appear@ 00e1f b9 06 00 01 00 mov ecx, 65542 ; 00010006H 00e24 e8 00 00 00 00 call _glfwInputError ; 261 : "WGL: The driver does not appear to support OpenGL"); ; 262 : ; 263 : _glfw_free(usableConfigs); 00e29 48 8b 4d 08 mov rcx, QWORD PTR usableConfigs$[rbp] 00e2d e8 00 00 00 00 call _glfw_free ; 264 : return 0; 00e32 33 c0 xor eax, eax 00e34 eb 56 jmp SHORT $LN1@choosePixe $LN36@choosePixe: ; 265 : } ; 266 : ; 267 : closest = _glfwChooseFBConfig(fbconfig, usableConfigs, usableCount); 00e36 44 8b 85 a4 00 00 00 mov r8d, DWORD PTR usableCount$[rbp] 00e3d 48 8b 55 08 mov rdx, QWORD PTR usableConfigs$[rbp] 00e41 48 8b 8d 70 04 00 00 mov rcx, QWORD PTR fbconfig$[rbp] 00e48 e8 00 00 00 00 call _glfwChooseFBConfig 00e4d 48 89 45 28 mov QWORD PTR closest$[rbp], rax ; 268 : if (!closest) 00e51 48 83 7d 28 00 cmp QWORD PTR closest$[rbp], 0 00e56 75 1e jne SHORT $LN37@choosePixe ; 269 : { ; 270 : _glfwInputError(GLFW_FORMAT_UNAVAILABLE, 00e58 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0CM@DGJKGOGD@WGL?3?5Failed?5to?5find?5a?5suitable?5@ 00e5f b9 09 00 01 00 mov ecx, 65545 ; 00010009H 00e64 e8 00 00 00 00 call _glfwInputError ; 271 : "WGL: Failed to find a suitable pixel format"); ; 272 : ; 273 : _glfw_free(usableConfigs); 00e69 48 8b 4d 08 mov rcx, QWORD PTR usableConfigs$[rbp] 00e6d e8 00 00 00 00 call _glfw_free ; 274 : return 0; 00e72 33 c0 xor eax, eax 00e74 eb 16 jmp SHORT $LN1@choosePixe $LN37@choosePixe: ; 275 : } ; 276 : ; 277 : pixelFormat = (int) closest->handle; 00e76 48 8b 45 28 mov rax, QWORD PTR closest$[rbp] 00e7a 8b 40 40 mov eax, DWORD PTR [rax+64] 00e7d 89 45 64 mov DWORD PTR pixelFormat$[rbp], eax ; 278 : _glfw_free(usableConfigs); 00e80 48 8b 4d 08 mov rcx, QWORD PTR usableConfigs$[rbp] 00e84 e8 00 00 00 00 call _glfw_free ; 279 : ; 280 : return pixelFormat; 00e89 8b 45 64 mov eax, DWORD PTR pixelFormat$[rbp] $LN1@choosePixe: ; 281 : } 00e8c 48 8b f8 mov rdi, rax 00e8f 48 8d 4d d0 lea rcx, QWORD PTR [rbp-48] 00e93 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:choosePixelFormatWGL$rtcFrameData 00e9a e8 00 00 00 00 call _RTC_CheckStackVars 00e9f 48 8b c7 mov rax, rdi 00ea2 48 8b 8d 38 04 00 00 mov rcx, QWORD PTR __$ArrayPad$[rbp] 00ea9 48 33 cd xor rcx, rbp 00eac e8 00 00 00 00 call __security_check_cookie 00eb1 48 8d a5 48 04 00 00 lea rsp, QWORD PTR [rbp+1096] 00eb8 5f pop rdi 00eb9 5d pop rbp 00eba c3 ret 0 choosePixelFormatWGL ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu /ZI ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\wgl_context.c ; COMDAT findPixelFormatAttribValueWGL _TEXT SEGMENT i$ = 4 attribs$ = 256 attribCount$ = 264 values$ = 272 attrib$ = 280 findPixelFormatAttribValueWGL PROC ; COMDAT ; 43 : { 00000 44 89 4c 24 20 mov DWORD PTR [rsp+32], r9d 00005 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8 0000a 89 54 24 10 mov DWORD PTR [rsp+16], edx 0000e 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx 00013 55 push rbp 00014 57 push rdi 00015 48 81 ec 08 01 00 00 sub rsp, 264 ; 00000108H 0001c 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32] 00021 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:__3DF919D4_wgl_context@c 00028 e8 00 00 00 00 call __CheckForDebuggerJustMyCode ; 44 : int i; ; 45 : ; 46 : for (i = 0; i < attribCount; i++) 0002d c7 45 04 00 00 00 00 mov DWORD PTR i$[rbp], 0 00034 eb 08 jmp SHORT $LN4@findPixelF $LN2@findPixelF: 00036 8b 45 04 mov eax, DWORD PTR i$[rbp] 00039 ff c0 inc eax 0003b 89 45 04 mov DWORD PTR i$[rbp], eax $LN4@findPixelF: 0003e 8b 85 08 01 00 00 mov eax, DWORD PTR attribCount$[rbp] 00044 39 45 04 cmp DWORD PTR i$[rbp], eax 00047 7d 28 jge SHORT $LN3@findPixelF ; 47 : { ; 48 : if (attribs[i] == attrib) 00049 48 63 45 04 movsxd rax, DWORD PTR i$[rbp] 0004d 48 8b 8d 00 01 00 00 mov rcx, QWORD PTR attribs$[rbp] 00054 8b 95 18 01 00 00 mov edx, DWORD PTR attrib$[rbp] 0005a 39 14 81 cmp DWORD PTR [rcx+rax*4], edx 0005d 75 10 jne SHORT $LN5@findPixelF ; 49 : return values[i]; 0005f 48 63 45 04 movsxd rax, DWORD PTR i$[rbp] 00063 48 8b 8d 10 01 00 00 mov rcx, QWORD PTR values$[rbp] 0006a 8b 04 81 mov eax, DWORD PTR [rcx+rax*4] 0006d eb 15 jmp SHORT $LN1@findPixelF $LN5@findPixelF: ; 50 : } 0006f eb c5 jmp SHORT $LN2@findPixelF $LN3@findPixelF: ; 51 : ; 52 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR, 00071 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0CO@KALOHMEN@WGL?3?5Unknown?5pixel?5format?5attri@ 00078 b9 08 00 01 00 mov ecx, 65544 ; 00010008H 0007d e8 00 00 00 00 call _glfwInputErrorWin32 ; 53 : "WGL: Unknown pixel format attribute requested"); ; 54 : return 0; 00082 33 c0 xor eax, eax $LN1@findPixelF: ; 55 : } 00084 48 8d a5 e8 00 00 00 lea rsp, QWORD PTR [rbp+232] 0008b 5f pop rdi 0008c 5d pop rbp 0008d c3 ret 0 findPixelFormatAttribValueWGL ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu /ZI ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\wgl_context.c ; COMDAT _glfwCreateContextWGL _TEXT SEGMENT attribs$ = 16 pixelFormat$ = 196 pfd$ = 232 share$ = 296 index$5 = 324 mask$6 = 356 flags$7 = 388 error$8 = 420 __$ArrayPad$ = 632 window$ = 672 ctxconfig$ = 680 fbconfig$ = 688 _glfwCreateContextWGL PROC ; COMDAT ; 528 : { $LN65: 00000 4c 89 44 24 18 mov QWORD PTR [rsp+24], r8 00005 48 89 54 24 10 mov QWORD PTR [rsp+16], rdx 0000a 48 89 4c 24 08 mov QWORD PTR [rsp+8], rcx 0000f 55 push rbp 00010 57 push rdi 00011 48 81 ec a8 02 00 00 sub rsp, 680 ; 000002a8H 00018 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32] 0001d 48 8d 7c 24 20 lea rdi, QWORD PTR [rsp+32] 00022 b9 72 00 00 00 mov ecx, 114 ; 00000072H 00027 b8 cc cc cc cc mov eax, -858993460 ; ccccccccH 0002c f3 ab rep stosd 0002e 48 8b 8c 24 c8 02 00 00 mov rcx, QWORD PTR [rsp+712] 00036 48 8b 05 00 00 00 00 mov rax, QWORD PTR __security_cookie 0003d 48 33 c5 xor rax, rbp 00040 48 89 85 78 02 00 00 mov QWORD PTR __$ArrayPad$[rbp], rax 00047 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:__3DF919D4_wgl_context@c 0004e e8 00 00 00 00 call __CheckForDebuggerJustMyCode ; 529 : int attribs[40]; ; 530 : int pixelFormat; ; 531 : PIXELFORMATDESCRIPTOR pfd; ; 532 : HGLRC share = NULL; 00053 48 c7 85 28 01 00 00 00 00 00 00 mov QWORD PTR share$[rbp], 0 ; 533 : ; 534 : if (ctxconfig->share) 0005e 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00065 48 83 78 28 00 cmp QWORD PTR [rax+40], 0 0006a 74 19 je SHORT $LN2@glfwCreate ; 535 : share = ctxconfig->share->context.wgl.handle; 0006c 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00073 48 8b 40 28 mov rax, QWORD PTR [rax+40] 00077 48 8b 80 c0 02 00 00 mov rax, QWORD PTR [rax+704] 0007e 48 89 85 28 01 00 00 mov QWORD PTR share$[rbp], rax $LN2@glfwCreate: ; 536 : ; 537 : window->context.wgl.dc = GetDC(window->win32.handle); 00085 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 0008c 48 8b 88 58 03 00 00 mov rcx, QWORD PTR [rax+856] 00093 ff 15 00 00 00 00 call QWORD PTR __imp_GetDC 00099 48 8b 8d a0 02 00 00 mov rcx, QWORD PTR window$[rbp] 000a0 48 89 81 b8 02 00 00 mov QWORD PTR [rcx+696], rax ; 538 : if (!window->context.wgl.dc) 000a7 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 000ae 48 83 b8 b8 02 00 00 00 cmp QWORD PTR [rax+696], 0 000b6 75 18 jne SHORT $LN3@glfwCreate ; 539 : { ; 540 : _glfwInputError(GLFW_PLATFORM_ERROR, 000b8 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0CG@GMPEPNKL@WGL?3?5Failed?5to?5retrieve?5DC?5for?5@ 000bf b9 08 00 01 00 mov ecx, 65544 ; 00010008H 000c4 e8 00 00 00 00 call _glfwInputError ; 541 : "WGL: Failed to retrieve DC for window"); ; 542 : return GLFW_FALSE; 000c9 33 c0 xor eax, eax 000cb e9 3b 09 00 00 jmp $LN1@glfwCreate $LN3@glfwCreate: ; 543 : } ; 544 : ; 545 : pixelFormat = choosePixelFormatWGL(window, ctxconfig, fbconfig); 000d0 4c 8b 85 b0 02 00 00 mov r8, QWORD PTR fbconfig$[rbp] 000d7 48 8b 95 a8 02 00 00 mov rdx, QWORD PTR ctxconfig$[rbp] 000de 48 8b 8d a0 02 00 00 mov rcx, QWORD PTR window$[rbp] 000e5 e8 00 00 00 00 call choosePixelFormatWGL 000ea 89 85 c4 00 00 00 mov DWORD PTR pixelFormat$[rbp], eax ; 546 : if (!pixelFormat) 000f0 83 bd c4 00 00 00 00 cmp DWORD PTR pixelFormat$[rbp], 0 000f7 75 07 jne SHORT $LN4@glfwCreate ; 547 : return GLFW_FALSE; 000f9 33 c0 xor eax, eax 000fb e9 0b 09 00 00 jmp $LN1@glfwCreate $LN4@glfwCreate: ; 548 : ; 549 : if (!DescribePixelFormat(window->context.wgl.dc, 00100 4c 8d 8d e8 00 00 00 lea r9, QWORD PTR pfd$[rbp] 00107 41 b8 28 00 00 00 mov r8d, 40 ; 00000028H 0010d 8b 95 c4 00 00 00 mov edx, DWORD PTR pixelFormat$[rbp] 00113 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 0011a 48 8b 88 b8 02 00 00 mov rcx, QWORD PTR [rax+696] 00121 ff 15 00 00 00 00 call QWORD PTR __imp_DescribePixelFormat 00127 85 c0 test eax, eax 00129 75 18 jne SHORT $LN5@glfwCreate ; 550 : pixelFormat, sizeof(pfd), &pfd)) ; 551 : { ; 552 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR, 0012b 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0DG@EPNPJJLB@WGL?3?5Failed?5to?5retrieve?5PFD?5for@ 00132 b9 08 00 01 00 mov ecx, 65544 ; 00010008H 00137 e8 00 00 00 00 call _glfwInputErrorWin32 ; 553 : "WGL: Failed to retrieve PFD for selected pixel format"); ; 554 : return GLFW_FALSE; 0013c 33 c0 xor eax, eax 0013e e9 c8 08 00 00 jmp $LN1@glfwCreate $LN5@glfwCreate: ; 555 : } ; 556 : ; 557 : if (!SetPixelFormat(window->context.wgl.dc, pixelFormat, &pfd)) 00143 4c 8d 85 e8 00 00 00 lea r8, QWORD PTR pfd$[rbp] 0014a 8b 95 c4 00 00 00 mov edx, DWORD PTR pixelFormat$[rbp] 00150 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 00157 48 8b 88 b8 02 00 00 mov rcx, QWORD PTR [rax+696] 0015e ff 15 00 00 00 00 call QWORD PTR __imp_SetPixelFormat 00164 85 c0 test eax, eax 00166 75 18 jne SHORT $LN6@glfwCreate ; 558 : { ; 559 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR, 00168 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0CJ@HAGOIHNO@WGL?3?5Failed?5to?5set?5selected?5pix@ 0016f b9 08 00 01 00 mov ecx, 65544 ; 00010008H 00174 e8 00 00 00 00 call _glfwInputErrorWin32 ; 560 : "WGL: Failed to set selected pixel format"); ; 561 : return GLFW_FALSE; 00179 33 c0 xor eax, eax 0017b e9 8b 08 00 00 jmp $LN1@glfwCreate $LN6@glfwCreate: ; 562 : } ; 563 : ; 564 : if (ctxconfig->client == GLFW_OPENGL_API) 00180 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00187 81 38 01 00 03 00 cmp DWORD PTR [rax], 196609 ; 00030001H 0018d 75 5e jne SHORT $LN7@glfwCreate ; 565 : { ; 566 : if (ctxconfig->forward) 0018f 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00196 83 78 10 00 cmp DWORD PTR [rax+16], 0 0019a 74 21 je SHORT $LN9@glfwCreate ; 567 : { ; 568 : if (!_glfw.wgl.ARB_create_context) 0019c 83 3d 10 2d 00 00 00 cmp DWORD PTR _glfw+11536, 0 001a3 75 18 jne SHORT $LN10@glfwCreate ; 569 : { ; 570 : _glfwInputError(GLFW_VERSION_UNAVAILABLE, 001a5 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0FN@NPOMMKHN@WGL?3?5A?5forward?5compatible?5OpenG@ 001ac b9 07 00 01 00 mov ecx, 65543 ; 00010007H 001b1 e8 00 00 00 00 call _glfwInputError ; 571 : "WGL: A forward compatible OpenGL context requested but WGL_ARB_create_context is unavailable"); ; 572 : return GLFW_FALSE; 001b6 33 c0 xor eax, eax 001b8 e9 4e 08 00 00 jmp $LN1@glfwCreate $LN10@glfwCreate: $LN9@glfwCreate: ; 573 : } ; 574 : } ; 575 : ; 576 : if (ctxconfig->profile) 001bd 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 001c4 83 78 1c 00 cmp DWORD PTR [rax+28], 0 001c8 74 21 je SHORT $LN11@glfwCreate ; 577 : { ; 578 : if (!_glfw.wgl.ARB_create_context_profile) 001ca 83 3d 14 2d 00 00 00 cmp DWORD PTR _glfw+11540, 0 001d1 75 18 jne SHORT $LN12@glfwCreate ; 579 : { ; 580 : _glfwInputError(GLFW_VERSION_UNAVAILABLE, 001d3 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0FA@OHOPKHFK@WGL?3?5OpenGL?5profile?5requested?5b@ 001da b9 07 00 01 00 mov ecx, 65543 ; 00010007H 001df e8 00 00 00 00 call _glfwInputError ; 581 : "WGL: OpenGL profile requested but WGL_ARB_create_context_profile is unavailable"); ; 582 : return GLFW_FALSE; 001e4 33 c0 xor eax, eax 001e6 e9 20 08 00 00 jmp $LN1@glfwCreate $LN12@glfwCreate: $LN11@glfwCreate: ; 583 : } ; 584 : } ; 585 : } 001eb eb 33 jmp SHORT $LN8@glfwCreate $LN7@glfwCreate: ; 586 : else ; 587 : { ; 588 : if (!_glfw.wgl.ARB_create_context || ; 589 : !_glfw.wgl.ARB_create_context_profile || 001ed 83 3d 10 2d 00 00 00 cmp DWORD PTR _glfw+11536, 0 001f4 74 12 je SHORT $LN14@glfwCreate 001f6 83 3d 14 2d 00 00 00 cmp DWORD PTR _glfw+11540, 0 001fd 74 09 je SHORT $LN14@glfwCreate 001ff 83 3d 18 2d 00 00 00 cmp DWORD PTR _glfw+11544, 0 00206 75 18 jne SHORT $LN13@glfwCreate $LN14@glfwCreate: ; 590 : !_glfw.wgl.EXT_create_context_es2_profile) ; 591 : { ; 592 : _glfwInputError(GLFW_API_UNAVAILABLE, 00208 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0EP@EKHGPGGO@WGL?3?5OpenGL?5ES?5requested?5but?5WG@ 0020f b9 06 00 01 00 mov ecx, 65542 ; 00010006H 00214 e8 00 00 00 00 call _glfwInputError ; 593 : "WGL: OpenGL ES requested but WGL_ARB_create_context_es2_profile is unavailable"); ; 594 : return GLFW_FALSE; 00219 33 c0 xor eax, eax 0021b e9 eb 07 00 00 jmp $LN1@glfwCreate $LN13@glfwCreate: $LN8@glfwCreate: ; 595 : } ; 596 : } ; 597 : ; 598 : if (_glfw.wgl.ARB_create_context) 00220 83 3d 10 2d 00 00 00 cmp DWORD PTR _glfw+11536, 0 00227 0f 84 cf 06 00 00 je $LN15@glfwCreate ; 599 : { ; 600 : int index = 0, mask = 0, flags = 0; 0022d c7 85 44 01 00 00 00 00 00 00 mov DWORD PTR index$5[rbp], 0 00237 c7 85 64 01 00 00 00 00 00 00 mov DWORD PTR mask$6[rbp], 0 00241 c7 85 84 01 00 00 00 00 00 00 mov DWORD PTR flags$7[rbp], 0 ; 601 : ; 602 : if (ctxconfig->client == GLFW_OPENGL_API) 0024b 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00252 81 38 01 00 03 00 cmp DWORD PTR [rax], 196609 ; 00030001H 00258 75 5e jne SHORT $LN17@glfwCreate ; 603 : { ; 604 : if (ctxconfig->forward) 0025a 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00261 83 78 10 00 cmp DWORD PTR [rax+16], 0 00265 74 0f je SHORT $LN19@glfwCreate ; 605 : flags |= WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB; 00267 8b 85 84 01 00 00 mov eax, DWORD PTR flags$7[rbp] 0026d 83 c8 02 or eax, 2 00270 89 85 84 01 00 00 mov DWORD PTR flags$7[rbp], eax $LN19@glfwCreate: ; 606 : ; 607 : if (ctxconfig->profile == GLFW_OPENGL_CORE_PROFILE) 00276 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 0027d 81 78 1c 01 20 03 00 cmp DWORD PTR [rax+28], 204801 ; 00032001H 00284 75 11 jne SHORT $LN20@glfwCreate ; 608 : mask |= WGL_CONTEXT_CORE_PROFILE_BIT_ARB; 00286 8b 85 64 01 00 00 mov eax, DWORD PTR mask$6[rbp] 0028c 83 c8 01 or eax, 1 0028f 89 85 64 01 00 00 mov DWORD PTR mask$6[rbp], eax 00295 eb 1f jmp SHORT $LN21@glfwCreate $LN20@glfwCreate: ; 609 : else if (ctxconfig->profile == GLFW_OPENGL_COMPAT_PROFILE) 00297 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 0029e 81 78 1c 02 20 03 00 cmp DWORD PTR [rax+28], 204802 ; 00032002H 002a5 75 0f jne SHORT $LN22@glfwCreate ; 610 : mask |= WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB; 002a7 8b 85 64 01 00 00 mov eax, DWORD PTR mask$6[rbp] 002ad 83 c8 02 or eax, 2 002b0 89 85 64 01 00 00 mov DWORD PTR mask$6[rbp], eax $LN22@glfwCreate: $LN21@glfwCreate: ; 611 : } 002b6 eb 0f jmp SHORT $LN18@glfwCreate $LN17@glfwCreate: ; 612 : else ; 613 : mask |= WGL_CONTEXT_ES2_PROFILE_BIT_EXT; 002b8 8b 85 64 01 00 00 mov eax, DWORD PTR mask$6[rbp] 002be 83 c8 04 or eax, 4 002c1 89 85 64 01 00 00 mov DWORD PTR mask$6[rbp], eax $LN18@glfwCreate: ; 614 : ; 615 : if (ctxconfig->debug) 002c7 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 002ce 83 78 14 00 cmp DWORD PTR [rax+20], 0 002d2 74 0f je SHORT $LN23@glfwCreate ; 616 : flags |= WGL_CONTEXT_DEBUG_BIT_ARB; 002d4 8b 85 84 01 00 00 mov eax, DWORD PTR flags$7[rbp] 002da 83 c8 01 or eax, 1 002dd 89 85 84 01 00 00 mov DWORD PTR flags$7[rbp], eax $LN23@glfwCreate: ; 617 : ; 618 : if (ctxconfig->robustness) 002e3 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 002ea 83 78 20 00 cmp DWORD PTR [rax+32], 0 002ee 0f 84 0a 01 00 00 je $LN24@glfwCreate ; 619 : { ; 620 : if (_glfw.wgl.ARB_create_context_robustness) 002f4 83 3d 1c 2d 00 00 00 cmp DWORD PTR _glfw+11548, 0 002fb 0f 84 fd 00 00 00 je $LN25@glfwCreate ; 621 : { ; 622 : if (ctxconfig->robustness == GLFW_NO_RESET_NOTIFICATION) 00301 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00308 81 78 20 01 10 03 00 cmp DWORD PTR [rax+32], 200705 ; 00031001H 0030f 75 68 jne SHORT $LN26@glfwCreate ; 623 : { ; 624 : SET_ATTRIB(WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB, 00311 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00318 48 ff c0 inc rax 0031b 48 83 f8 28 cmp rax, 40 ; 00000028H 0031f 72 1c jb SHORT $LN55@glfwCreate 00321 41 b8 71 02 00 00 mov r8d, 625 ; 00000271H 00327 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 0032e 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@HJCOLHIE@?$AA?$CI?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAi?$AAn?$AAd?$AAe?$AAx@ 00335 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 0033b 33 c0 xor eax, eax $LN55@glfwCreate: 0033d 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00344 c7 44 85 10 56 82 00 00 mov DWORD PTR attribs$[rbp+rax*4], 33366 ; 00008256H 0034c 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 00352 ff c0 inc eax 00354 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax 0035a 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00361 c7 44 85 10 61 82 00 00 mov DWORD PTR attribs$[rbp+rax*4], 33377 ; 00008261H 00369 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 0036f ff c0 inc eax 00371 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax ; 625 : WGL_NO_RESET_NOTIFICATION_ARB); ; 626 : } 00377 eb 76 jmp SHORT $LN27@glfwCreate $LN26@glfwCreate: ; 627 : else if (ctxconfig->robustness == GLFW_LOSE_CONTEXT_ON_RESET) 00379 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00380 81 78 20 02 10 03 00 cmp DWORD PTR [rax+32], 200706 ; 00031002H 00387 75 66 jne SHORT $LN28@glfwCreate ; 628 : { ; 629 : SET_ATTRIB(WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB, 00389 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00390 48 ff c0 inc rax 00393 48 83 f8 28 cmp rax, 40 ; 00000028H 00397 72 1c jb SHORT $LN56@glfwCreate 00399 41 b8 76 02 00 00 mov r8d, 630 ; 00000276H 0039f 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 003a6 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@HJCOLHIE@?$AA?$CI?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAi?$AAn?$AAd?$AAe?$AAx@ 003ad ff 15 00 00 00 00 call QWORD PTR __imp__wassert 003b3 33 c0 xor eax, eax $LN56@glfwCreate: 003b5 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 003bc c7 44 85 10 56 82 00 00 mov DWORD PTR attribs$[rbp+rax*4], 33366 ; 00008256H 003c4 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 003ca ff c0 inc eax 003cc 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax 003d2 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 003d9 c7 44 85 10 52 82 00 00 mov DWORD PTR attribs$[rbp+rax*4], 33362 ; 00008252H 003e1 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 003e7 ff c0 inc eax 003e9 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax $LN28@glfwCreate: $LN27@glfwCreate: ; 630 : WGL_LOSE_CONTEXT_ON_RESET_ARB); ; 631 : } ; 632 : ; 633 : flags |= WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB; 003ef 8b 85 84 01 00 00 mov eax, DWORD PTR flags$7[rbp] 003f5 83 c8 04 or eax, 4 003f8 89 85 84 01 00 00 mov DWORD PTR flags$7[rbp], eax $LN25@glfwCreate: $LN24@glfwCreate: ; 634 : } ; 635 : } ; 636 : ; 637 : if (ctxconfig->release) 003fe 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00405 83 78 24 00 cmp DWORD PTR [rax+36], 0 00409 0f 84 fb 00 00 00 je $LN29@glfwCreate ; 638 : { ; 639 : if (_glfw.wgl.ARB_context_flush_control) 0040f 83 3d 24 2d 00 00 00 cmp DWORD PTR _glfw+11556, 0 00416 0f 84 ee 00 00 00 je $LN30@glfwCreate ; 640 : { ; 641 : if (ctxconfig->release == GLFW_RELEASE_BEHAVIOR_NONE) 0041c 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00423 81 78 24 02 50 03 00 cmp DWORD PTR [rax+36], 217090 ; 00035002H 0042a 75 68 jne SHORT $LN31@glfwCreate ; 642 : { ; 643 : SET_ATTRIB(WGL_CONTEXT_RELEASE_BEHAVIOR_ARB, 0042c 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00433 48 ff c0 inc rax 00436 48 83 f8 28 cmp rax, 40 ; 00000028H 0043a 72 1c jb SHORT $LN57@glfwCreate 0043c 41 b8 84 02 00 00 mov r8d, 644 ; 00000284H 00442 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 00449 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@HJCOLHIE@?$AA?$CI?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAi?$AAn?$AAd?$AAe?$AAx@ 00450 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 00456 33 c0 xor eax, eax $LN57@glfwCreate: 00458 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 0045f c7 44 85 10 97 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8343 ; 00002097H 00467 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 0046d ff c0 inc eax 0046f 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax 00475 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 0047c c7 44 85 10 00 00 00 00 mov DWORD PTR attribs$[rbp+rax*4], 0 00484 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 0048a ff c0 inc eax 0048c 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax ; 644 : WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB); ; 645 : } 00492 eb 76 jmp SHORT $LN32@glfwCreate $LN31@glfwCreate: ; 646 : else if (ctxconfig->release == GLFW_RELEASE_BEHAVIOR_FLUSH) 00494 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 0049b 81 78 24 01 50 03 00 cmp DWORD PTR [rax+36], 217089 ; 00035001H 004a2 75 66 jne SHORT $LN33@glfwCreate ; 647 : { ; 648 : SET_ATTRIB(WGL_CONTEXT_RELEASE_BEHAVIOR_ARB, 004a4 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 004ab 48 ff c0 inc rax 004ae 48 83 f8 28 cmp rax, 40 ; 00000028H 004b2 72 1c jb SHORT $LN58@glfwCreate 004b4 41 b8 89 02 00 00 mov r8d, 649 ; 00000289H 004ba 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 004c1 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@HJCOLHIE@?$AA?$CI?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAi?$AAn?$AAd?$AAe?$AAx@ 004c8 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 004ce 33 c0 xor eax, eax $LN58@glfwCreate: 004d0 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 004d7 c7 44 85 10 97 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8343 ; 00002097H 004df 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 004e5 ff c0 inc eax 004e7 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax 004ed 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 004f4 c7 44 85 10 98 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8344 ; 00002098H 004fc 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 00502 ff c0 inc eax 00504 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax $LN33@glfwCreate: $LN32@glfwCreate: $LN30@glfwCreate: $LN29@glfwCreate: ; 649 : WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB); ; 650 : } ; 651 : } ; 652 : } ; 653 : ; 654 : if (ctxconfig->noerror) 0050a 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00511 83 78 18 00 cmp DWORD PTR [rax+24], 0 00515 74 6f je SHORT $LN34@glfwCreate ; 655 : { ; 656 : if (_glfw.wgl.ARB_create_context_no_error) 00517 83 3d 20 2d 00 00 00 cmp DWORD PTR _glfw+11552, 0 0051e 74 66 je SHORT $LN35@glfwCreate ; 657 : SET_ATTRIB(WGL_CONTEXT_OPENGL_NO_ERROR_ARB, GLFW_TRUE); 00520 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00527 48 ff c0 inc rax 0052a 48 83 f8 28 cmp rax, 40 ; 00000028H 0052e 72 1c jb SHORT $LN59@glfwCreate 00530 41 b8 91 02 00 00 mov r8d, 657 ; 00000291H 00536 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 0053d 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@HJCOLHIE@?$AA?$CI?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAi?$AAn?$AAd?$AAe?$AAx@ 00544 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 0054a 33 c0 xor eax, eax $LN59@glfwCreate: 0054c 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00553 c7 44 85 10 b3 31 00 00 mov DWORD PTR attribs$[rbp+rax*4], 12723 ; 000031b3H 0055b 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 00561 ff c0 inc eax 00563 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax 00569 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00570 c7 44 85 10 01 00 00 00 mov DWORD PTR attribs$[rbp+rax*4], 1 00578 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 0057e ff c0 inc eax 00580 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax $LN35@glfwCreate: $LN34@glfwCreate: ; 658 : } ; 659 : ; 660 : // NOTE: Only request an explicitly versioned context when necessary, as ; 661 : // explicitly requesting version 1.0 does not always return the ; 662 : // highest version supported by the driver ; 663 : if (ctxconfig->major != 1 || ctxconfig->minor != 0) 00586 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 0058d 83 78 08 01 cmp DWORD PTR [rax+8], 1 00591 75 11 jne SHORT $LN37@glfwCreate 00593 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 0059a 83 78 0c 00 cmp DWORD PTR [rax+12], 0 0059e 0f 84 d8 00 00 00 je $LN36@glfwCreate $LN37@glfwCreate: ; 664 : { ; 665 : SET_ATTRIB(WGL_CONTEXT_MAJOR_VERSION_ARB, ctxconfig->major); 005a4 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 005ab 48 ff c0 inc rax 005ae 48 83 f8 28 cmp rax, 40 ; 00000028H 005b2 72 1c jb SHORT $LN60@glfwCreate 005b4 41 b8 99 02 00 00 mov r8d, 665 ; 00000299H 005ba 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 005c1 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@HJCOLHIE@?$AA?$CI?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAi?$AAn?$AAd?$AAe?$AAx@ 005c8 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 005ce 33 c0 xor eax, eax $LN60@glfwCreate: 005d0 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 005d7 c7 44 85 10 91 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8337 ; 00002091H 005df 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 005e5 ff c0 inc eax 005e7 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax 005ed 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 005f4 48 8b 8d a8 02 00 00 mov rcx, QWORD PTR ctxconfig$[rbp] 005fb 8b 49 08 mov ecx, DWORD PTR [rcx+8] 005fe 89 4c 85 10 mov DWORD PTR attribs$[rbp+rax*4], ecx 00602 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 00608 ff c0 inc eax 0060a 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax ; 666 : SET_ATTRIB(WGL_CONTEXT_MINOR_VERSION_ARB, ctxconfig->minor); 00610 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00617 48 ff c0 inc rax 0061a 48 83 f8 28 cmp rax, 40 ; 00000028H 0061e 72 1c jb SHORT $LN61@glfwCreate 00620 41 b8 9a 02 00 00 mov r8d, 666 ; 0000029aH 00626 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 0062d 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@HJCOLHIE@?$AA?$CI?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAi?$AAn?$AAd?$AAe?$AAx@ 00634 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 0063a 33 c0 xor eax, eax $LN61@glfwCreate: 0063c 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00643 c7 44 85 10 92 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8338 ; 00002092H 0064b 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 00651 ff c0 inc eax 00653 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax 00659 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00660 48 8b 8d a8 02 00 00 mov rcx, QWORD PTR ctxconfig$[rbp] 00667 8b 49 0c mov ecx, DWORD PTR [rcx+12] 0066a 89 4c 85 10 mov DWORD PTR attribs$[rbp+rax*4], ecx 0066e 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 00674 ff c0 inc eax 00676 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax $LN36@glfwCreate: ; 667 : } ; 668 : ; 669 : if (flags) 0067c 83 bd 84 01 00 00 00 cmp DWORD PTR flags$7[rbp], 0 00683 74 68 je SHORT $LN38@glfwCreate ; 670 : SET_ATTRIB(WGL_CONTEXT_FLAGS_ARB, flags); 00685 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 0068c 48 ff c0 inc rax 0068f 48 83 f8 28 cmp rax, 40 ; 00000028H 00693 72 1c jb SHORT $LN62@glfwCreate 00695 41 b8 9e 02 00 00 mov r8d, 670 ; 0000029eH 0069b 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 006a2 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@HJCOLHIE@?$AA?$CI?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAi?$AAn?$AAd?$AAe?$AAx@ 006a9 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 006af 33 c0 xor eax, eax $LN62@glfwCreate: 006b1 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 006b8 c7 44 85 10 94 20 00 00 mov DWORD PTR attribs$[rbp+rax*4], 8340 ; 00002094H 006c0 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 006c6 ff c0 inc eax 006c8 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax 006ce 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 006d5 8b 8d 84 01 00 00 mov ecx, DWORD PTR flags$7[rbp] 006db 89 4c 85 10 mov DWORD PTR attribs$[rbp+rax*4], ecx 006df 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 006e5 ff c0 inc eax 006e7 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax $LN38@glfwCreate: ; 671 : ; 672 : if (mask) 006ed 83 bd 64 01 00 00 00 cmp DWORD PTR mask$6[rbp], 0 006f4 74 68 je SHORT $LN39@glfwCreate ; 673 : SET_ATTRIB(WGL_CONTEXT_PROFILE_MASK_ARB, mask); 006f6 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 006fd 48 ff c0 inc rax 00700 48 83 f8 28 cmp rax, 40 ; 00000028H 00704 72 1c jb SHORT $LN63@glfwCreate 00706 41 b8 a1 02 00 00 mov r8d, 673 ; 000002a1H 0070c 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 00713 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@HJCOLHIE@?$AA?$CI?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAi?$AAn?$AAd?$AAe?$AAx@ 0071a ff 15 00 00 00 00 call QWORD PTR __imp__wassert 00720 33 c0 xor eax, eax $LN63@glfwCreate: 00722 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00729 c7 44 85 10 26 91 00 00 mov DWORD PTR attribs$[rbp+rax*4], 37158 ; 00009126H 00731 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 00737 ff c0 inc eax 00739 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax 0073f 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00746 8b 8d 64 01 00 00 mov ecx, DWORD PTR mask$6[rbp] 0074c 89 4c 85 10 mov DWORD PTR attribs$[rbp+rax*4], ecx 00750 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 00756 ff c0 inc eax 00758 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax $LN39@glfwCreate: ; 674 : ; 675 : SET_ATTRIB(0, 0); 0075e 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00765 48 ff c0 inc rax 00768 48 83 f8 28 cmp rax, 40 ; 00000028H 0076c 72 1c jb SHORT $LN64@glfwCreate 0076e 41 b8 a3 02 00 00 mov r8d, 675 ; 000002a3H 00774 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_1ME@KGDFGHHN@?$AAD?$AA?3?$AA?2?$AAN?$AAi?$AAt?$AAl?$AAo?$AAa?$AAd?$AAI?$AAn?$AAd?$AAu?$AAs@ 0077b 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_1HI@HJCOLHIE@?$AA?$CI?$AA?$CI?$AAs?$AAi?$AAz?$AAe?$AA_?$AAt?$AA?$CJ?$AA?5?$AAi?$AAn?$AAd?$AAe?$AAx@ 00782 ff 15 00 00 00 00 call QWORD PTR __imp__wassert 00788 33 c0 xor eax, eax $LN64@glfwCreate: 0078a 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 00791 c7 44 85 10 00 00 00 00 mov DWORD PTR attribs$[rbp+rax*4], 0 00799 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 0079f ff c0 inc eax 007a1 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax 007a7 48 63 85 44 01 00 00 movsxd rax, DWORD PTR index$5[rbp] 007ae c7 44 85 10 00 00 00 00 mov DWORD PTR attribs$[rbp+rax*4], 0 007b6 8b 85 44 01 00 00 mov eax, DWORD PTR index$5[rbp] 007bc ff c0 inc eax 007be 89 85 44 01 00 00 mov DWORD PTR index$5[rbp], eax ; 676 : ; 677 : window->context.wgl.handle = 007c4 4c 8d 45 10 lea r8, QWORD PTR attribs$[rbp] 007c8 48 8b 95 28 01 00 00 mov rdx, QWORD PTR share$[rbp] 007cf 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 007d6 48 8b 88 b8 02 00 00 mov rcx, QWORD PTR [rax+696] 007dd ff 15 f0 2c 00 00 call QWORD PTR _glfw+11504 007e3 48 8b 8d a0 02 00 00 mov rcx, QWORD PTR window$[rbp] 007ea 48 89 81 c0 02 00 00 mov QWORD PTR [rcx+704], rax ; 678 : wglCreateContextAttribsARB(window->context.wgl.dc, share, attribs); ; 679 : if (!window->context.wgl.handle) 007f1 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 007f8 48 83 b8 c0 02 00 00 00 cmp QWORD PTR [rax+704], 0 00800 0f 85 f1 00 00 00 jne $LN40@glfwCreate ; 680 : { ; 681 : const DWORD error = GetLastError(); 00806 ff 15 00 00 00 00 call QWORD PTR __imp_GetLastError 0080c 89 85 a4 01 00 00 mov DWORD PTR error$8[rbp], eax ; 682 : ; 683 : if (error == (0xc0070000 | ERROR_INVALID_VERSION_ARB)) 00812 81 bd a4 01 00 00 95 20 07 c0 cmp DWORD PTR error$8[rbp], -1073274731 ; c0072095H 0081c 75 61 jne SHORT $LN41@glfwCreate ; 684 : { ; 685 : if (ctxconfig->client == GLFW_OPENGL_API) 0081e 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00825 81 38 01 00 03 00 cmp DWORD PTR [rax], 196609 ; 00030001H 0082b 75 29 jne SHORT $LN43@glfwCreate ; 686 : { ; 687 : _glfwInputError(GLFW_VERSION_UNAVAILABLE, 0082d 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00834 44 8b 48 0c mov r9d, DWORD PTR [rax+12] 00838 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 0083f 44 8b 40 08 mov r8d, DWORD PTR [rax+8] 00843 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0DC@CDLECLKD@WGL?3?5Driver?5does?5not?5support?5Op@ 0084a b9 07 00 01 00 mov ecx, 65543 ; 00010007H 0084f e8 00 00 00 00 call _glfwInputError ; 688 : "WGL: Driver does not support OpenGL version %i.%i", ; 689 : ctxconfig->major, ; 690 : ctxconfig->minor); ; 691 : } 00854 eb 27 jmp SHORT $LN44@glfwCreate $LN43@glfwCreate: ; 692 : else ; 693 : { ; 694 : _glfwInputError(GLFW_VERSION_UNAVAILABLE, 00856 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 0085d 44 8b 48 0c mov r9d, DWORD PTR [rax+12] 00861 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 00868 44 8b 40 08 mov r8d, DWORD PTR [rax+8] 0086c 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0DF@NPMNAJFG@WGL?3?5Driver?5does?5not?5support?5Op@ 00873 b9 07 00 01 00 mov ecx, 65543 ; 00010007H 00878 e8 00 00 00 00 call _glfwInputError $LN44@glfwCreate: ; 695 : "WGL: Driver does not support OpenGL ES version %i.%i", ; 696 : ctxconfig->major, ; 697 : ctxconfig->minor); ; 698 : } ; 699 : } 0087d eb 71 jmp SHORT $LN42@glfwCreate $LN41@glfwCreate: ; 700 : else if (error == (0xc0070000 | ERROR_INVALID_PROFILE_ARB)) 0087f 81 bd a4 01 00 00 96 20 07 c0 cmp DWORD PTR error$8[rbp], -1073274730 ; c0072096H 00889 75 13 jne SHORT $LN45@glfwCreate ; 701 : { ; 702 : _glfwInputError(GLFW_VERSION_UNAVAILABLE, 0088b 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0DK@CDBDDLLM@WGL?3?5Driver?5does?5not?5support?5th@ 00892 b9 07 00 01 00 mov ecx, 65543 ; 00010007H 00897 e8 00 00 00 00 call _glfwInputError ; 703 : "WGL: Driver does not support the requested OpenGL profile"); ; 704 : } 0089c eb 52 jmp SHORT $LN46@glfwCreate $LN45@glfwCreate: ; 705 : else if (error == (0xc0070000 | ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB)) 0089e 81 bd a4 01 00 00 54 20 07 c0 cmp DWORD PTR error$8[rbp], -1073274796 ; c0072054H 008a8 75 13 jne SHORT $LN47@glfwCreate ; 706 : { ; 707 : _glfwInputError(GLFW_INVALID_VALUE, 008aa 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0EE@LGMAAPCC@WGL?3?5The?5share?5context?5is?5not?5c@ 008b1 b9 04 00 01 00 mov ecx, 65540 ; 00010004H 008b6 e8 00 00 00 00 call _glfwInputError ; 708 : "WGL: The share context is not compatible with the requested context"); ; 709 : } 008bb eb 33 jmp SHORT $LN48@glfwCreate $LN47@glfwCreate: ; 710 : else ; 711 : { ; 712 : if (ctxconfig->client == GLFW_OPENGL_API) 008bd 48 8b 85 a8 02 00 00 mov rax, QWORD PTR ctxconfig$[rbp] 008c4 81 38 01 00 03 00 cmp DWORD PTR [rax], 196609 ; 00030001H 008ca 75 13 jne SHORT $LN49@glfwCreate ; 713 : { ; 714 : _glfwInputError(GLFW_VERSION_UNAVAILABLE, 008cc 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0CF@GFMDJIA@WGL?3?5Failed?5to?5create?5OpenGL?5co@ 008d3 b9 07 00 01 00 mov ecx, 65543 ; 00010007H 008d8 e8 00 00 00 00 call _glfwInputError ; 715 : "WGL: Failed to create OpenGL context"); ; 716 : } 008dd eb 11 jmp SHORT $LN50@glfwCreate $LN49@glfwCreate: ; 717 : else ; 718 : { ; 719 : _glfwInputError(GLFW_VERSION_UNAVAILABLE, 008df 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0CI@JNBCHAIF@WGL?3?5Failed?5to?5create?5OpenGL?5ES@ 008e6 b9 07 00 01 00 mov ecx, 65543 ; 00010007H 008eb e8 00 00 00 00 call _glfwInputError $LN50@glfwCreate: $LN48@glfwCreate: $LN46@glfwCreate: $LN42@glfwCreate: ; 720 : "WGL: Failed to create OpenGL ES context"); ; 721 : } ; 722 : } ; 723 : ; 724 : return GLFW_FALSE; 008f0 33 c0 xor eax, eax 008f2 e9 14 01 00 00 jmp $LN1@glfwCreate $LN40@glfwCreate: ; 725 : } ; 726 : } 008f7 e9 8c 00 00 00 jmp $LN16@glfwCreate $LN15@glfwCreate: ; 727 : else ; 728 : { ; 729 : window->context.wgl.handle = wglCreateContext(window->context.wgl.dc); 008fc 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 00903 48 8b 88 b8 02 00 00 mov rcx, QWORD PTR [rax+696] 0090a ff 15 98 2c 00 00 call QWORD PTR _glfw+11416 00910 48 8b 8d a0 02 00 00 mov rcx, QWORD PTR window$[rbp] 00917 48 89 81 c0 02 00 00 mov QWORD PTR [rcx+704], rax ; 730 : if (!window->context.wgl.handle) 0091e 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 00925 48 83 b8 c0 02 00 00 00 cmp QWORD PTR [rax+704], 0 0092d 75 18 jne SHORT $LN51@glfwCreate ; 731 : { ; 732 : _glfwInputErrorWin32(GLFW_VERSION_UNAVAILABLE, 0092f 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0CF@GFMDJIA@WGL?3?5Failed?5to?5create?5OpenGL?5co@ 00936 b9 07 00 01 00 mov ecx, 65543 ; 00010007H 0093b e8 00 00 00 00 call _glfwInputErrorWin32 ; 733 : "WGL: Failed to create OpenGL context"); ; 734 : return GLFW_FALSE; 00940 33 c0 xor eax, eax 00942 e9 c4 00 00 00 jmp $LN1@glfwCreate $LN51@glfwCreate: ; 735 : } ; 736 : ; 737 : if (share) 00947 48 83 bd 28 01 00 00 00 cmp QWORD PTR share$[rbp], 0 0094f 74 37 je SHORT $LN52@glfwCreate ; 738 : { ; 739 : if (!wglShareLists(share, window->context.wgl.handle)) 00951 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 00958 48 8b 90 c0 02 00 00 mov rdx, QWORD PTR [rax+704] 0095f 48 8b 8d 28 01 00 00 mov rcx, QWORD PTR share$[rbp] 00966 ff 15 c8 2c 00 00 call QWORD PTR _glfw+11464 0096c 85 c0 test eax, eax 0096e 75 18 jne SHORT $LN53@glfwCreate ; 740 : { ; 741 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR, 00970 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0DM@FCAOPKO@WGL?3?5Failed?5to?5enable?5sharing?5w@ 00977 b9 08 00 01 00 mov ecx, 65544 ; 00010008H 0097c e8 00 00 00 00 call _glfwInputErrorWin32 ; 742 : "WGL: Failed to enable sharing with specified OpenGL context"); ; 743 : return GLFW_FALSE; 00981 33 c0 xor eax, eax 00983 e9 83 00 00 00 jmp $LN1@glfwCreate $LN53@glfwCreate: $LN52@glfwCreate: $LN16@glfwCreate: ; 744 : } ; 745 : } ; 746 : } ; 747 : ; 748 : window->context.makeCurrent = makeContextCurrentWGL; 00988 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 0098f 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:makeContextCurrentWGL 00996 48 89 88 50 02 00 00 mov QWORD PTR [rax+592], rcx ; 749 : window->context.swapBuffers = swapBuffersWGL; 0099d 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 009a4 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:swapBuffersWGL 009ab 48 89 88 58 02 00 00 mov QWORD PTR [rax+600], rcx ; 750 : window->context.swapInterval = swapIntervalWGL; 009b2 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 009b9 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:swapIntervalWGL 009c0 48 89 88 60 02 00 00 mov QWORD PTR [rax+608], rcx ; 751 : window->context.extensionSupported = extensionSupportedWGL; 009c7 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 009ce 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:extensionSupportedWGL 009d5 48 89 88 68 02 00 00 mov QWORD PTR [rax+616], rcx ; 752 : window->context.getProcAddress = getProcAddressWGL; 009dc 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 009e3 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:getProcAddressWGL 009ea 48 89 88 70 02 00 00 mov QWORD PTR [rax+624], rcx ; 753 : window->context.destroy = destroyContextWGL; 009f1 48 8b 85 a0 02 00 00 mov rax, QWORD PTR window$[rbp] 009f8 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:destroyContextWGL 009ff 48 89 88 78 02 00 00 mov QWORD PTR [rax+632], rcx ; 754 : ; 755 : return GLFW_TRUE; 00a06 b8 01 00 00 00 mov eax, 1 $LN1@glfwCreate: ; 756 : } 00a0b 48 8b f8 mov rdi, rax 00a0e 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32] 00a12 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:_glfwCreateContextWGL$rtcFrameData 00a19 e8 00 00 00 00 call _RTC_CheckStackVars 00a1e 48 8b c7 mov rax, rdi 00a21 48 8b 8d 78 02 00 00 mov rcx, QWORD PTR __$ArrayPad$[rbp] 00a28 48 33 cd xor rcx, rbp 00a2b e8 00 00 00 00 call __security_check_cookie 00a30 48 8d a5 88 02 00 00 lea rsp, QWORD PTR [rbp+648] 00a37 5f pop rdi 00a38 5d pop rbp 00a39 c3 ret 0 _glfwCreateContextWGL ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu /ZI ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\wgl_context.c ; COMDAT _glfwTerminateWGL _TEXT SEGMENT _glfwTerminateWGL PROC ; COMDAT ; 511 : { $LN4: 00000 40 55 push rbp 00002 57 push rdi 00003 48 81 ec e8 00 00 00 sub rsp, 232 ; 000000e8H 0000a 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32] 0000f 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:__3DF919D4_wgl_context@c 00016 e8 00 00 00 00 call __CheckForDebuggerJustMyCode ; 512 : if (_glfw.wgl.instance) 0001b 48 83 3d 90 2c 00 00 00 cmp QWORD PTR _glfw+11408, 0 00023 74 0c je SHORT $LN2@glfwTermin ; 513 : _glfwPlatformFreeModule(_glfw.wgl.instance); 00025 48 8b 0d 90 2c 00 00 mov rcx, QWORD PTR _glfw+11408 0002c e8 00 00 00 00 call _glfwPlatformFreeModule $LN2@glfwTermin: ; 514 : } 00031 48 8d a5 c8 00 00 00 lea rsp, QWORD PTR [rbp+200] 00038 5f pop rdi 00039 5d pop rbp 0003a c3 ret 0 _glfwTerminateWGL ENDP _TEXT ENDS ; Function compile flags: /Odtp /RTCsu /ZI ; File D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\源代码\StgSharpGraphic\code\glfw\wgl_context.c ; COMDAT _glfwInitWGL _TEXT SEGMENT pfd$ = 8 prc$ = 72 rc$ = 104 pdc$ = 136 dc$ = 168 __$ArrayPad$ = 376 _glfwInitWGL PROC ; COMDAT ; 391 : { $LN8: 00000 40 55 push rbp 00002 57 push rdi 00003 48 81 ec a8 01 00 00 sub rsp, 424 ; 000001a8H 0000a 48 8d 6c 24 20 lea rbp, QWORD PTR [rsp+32] 0000f 48 8d 7c 24 20 lea rdi, QWORD PTR [rsp+32] 00014 b9 32 00 00 00 mov ecx, 50 ; 00000032H 00019 b8 cc cc cc cc mov eax, -858993460 ; ccccccccH 0001e f3 ab rep stosd 00020 48 8b 05 00 00 00 00 mov rax, QWORD PTR __security_cookie 00027 48 33 c5 xor rax, rbp 0002a 48 89 85 78 01 00 00 mov QWORD PTR __$ArrayPad$[rbp], rax 00031 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:__3DF919D4_wgl_context@c 00038 e8 00 00 00 00 call __CheckForDebuggerJustMyCode ; 392 : PIXELFORMATDESCRIPTOR pfd; ; 393 : HGLRC prc, rc; ; 394 : HDC pdc, dc; ; 395 : ; 396 : if (_glfw.wgl.instance) 0003d 48 83 3d 90 2c 00 00 00 cmp QWORD PTR _glfw+11408, 0 00045 74 0a je SHORT $LN2@glfwInitWG ; 397 : return GLFW_TRUE; 00047 b8 01 00 00 00 mov eax, 1 0004c e9 5c 03 00 00 jmp $LN1@glfwInitWG $LN2@glfwInitWG: ; 398 : ; 399 : _glfw.wgl.instance = _glfwPlatformLoadModule("opengl32.dll"); 00051 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0N@DOKAJOHF@opengl32?4dll@ 00058 e8 00 00 00 00 call _glfwPlatformLoadModule 0005d 48 89 05 90 2c 00 00 mov QWORD PTR _glfw+11408, rax ; 400 : if (!_glfw.wgl.instance) 00064 48 83 3d 90 2c 00 00 00 cmp QWORD PTR _glfw+11408, 0 0006c 75 18 jne SHORT $LN3@glfwInitWG ; 401 : { ; 402 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR, 0006e 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0CB@FLGENKMO@WGL?3?5Failed?5to?5load?5opengl32?4dl@ 00075 b9 08 00 01 00 mov ecx, 65544 ; 00010008H 0007a e8 00 00 00 00 call _glfwInputErrorWin32 ; 403 : "WGL: Failed to load opengl32.dll"); ; 404 : return GLFW_FALSE; 0007f 33 c0 xor eax, eax 00081 e9 27 03 00 00 jmp $LN1@glfwInitWG $LN3@glfwInitWG: ; 405 : } ; 406 : ; 407 : _glfw.wgl.CreateContext = (PFN_wglCreateContext) 00086 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0BB@GHMBNOIP@wglCreateContext@ 0008d 48 8b 0d 90 2c 00 00 mov rcx, QWORD PTR _glfw+11408 00094 e8 00 00 00 00 call _glfwPlatformGetModuleSymbol 00099 48 89 05 98 2c 00 00 mov QWORD PTR _glfw+11416, rax ; 408 : _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglCreateContext"); ; 409 : _glfw.wgl.DeleteContext = (PFN_wglDeleteContext) 000a0 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0BB@OGAIJNNO@wglDeleteContext@ 000a7 48 8b 0d 90 2c 00 00 mov rcx, QWORD PTR _glfw+11408 000ae e8 00 00 00 00 call _glfwPlatformGetModuleSymbol 000b3 48 89 05 a0 2c 00 00 mov QWORD PTR _glfw+11424, rax ; 410 : _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglDeleteContext"); ; 411 : _glfw.wgl.GetProcAddress = (PFN_wglGetProcAddress) 000ba 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0BC@FFKMKEGM@wglGetProcAddress@ 000c1 48 8b 0d 90 2c 00 00 mov rcx, QWORD PTR _glfw+11408 000c8 e8 00 00 00 00 call _glfwPlatformGetModuleSymbol 000cd 48 89 05 a8 2c 00 00 mov QWORD PTR _glfw+11432, rax ; 412 : _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglGetProcAddress"); ; 413 : _glfw.wgl.GetCurrentDC = (PFN_wglGetCurrentDC) 000d4 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0BA@BMKCDCKD@wglGetCurrentDC@ 000db 48 8b 0d 90 2c 00 00 mov rcx, QWORD PTR _glfw+11408 000e2 e8 00 00 00 00 call _glfwPlatformGetModuleSymbol 000e7 48 89 05 b0 2c 00 00 mov QWORD PTR _glfw+11440, rax ; 414 : _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglGetCurrentDC"); ; 415 : _glfw.wgl.GetCurrentContext = (PFN_wglGetCurrentContext) 000ee 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0BF@HABDPBMA@wglGetCurrentContext@ 000f5 48 8b 0d 90 2c 00 00 mov rcx, QWORD PTR _glfw+11408 000fc e8 00 00 00 00 call _glfwPlatformGetModuleSymbol 00101 48 89 05 b8 2c 00 00 mov QWORD PTR _glfw+11448, rax ; 416 : _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglGetCurrentContext"); ; 417 : _glfw.wgl.MakeCurrent = (PFN_wglMakeCurrent) 00108 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0P@BBBFNDGG@wglMakeCurrent@ 0010f 48 8b 0d 90 2c 00 00 mov rcx, QWORD PTR _glfw+11408 00116 e8 00 00 00 00 call _glfwPlatformGetModuleSymbol 0011b 48 89 05 c0 2c 00 00 mov QWORD PTR _glfw+11456, rax ; 418 : _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglMakeCurrent"); ; 419 : _glfw.wgl.ShareLists = (PFN_wglShareLists) 00122 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0O@GCGJMHDL@wglShareLists@ 00129 48 8b 0d 90 2c 00 00 mov rcx, QWORD PTR _glfw+11408 00130 e8 00 00 00 00 call _glfwPlatformGetModuleSymbol 00135 48 89 05 c8 2c 00 00 mov QWORD PTR _glfw+11464, rax ; 420 : _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglShareLists"); ; 421 : ; 422 : // NOTE: A dummy context has to be created for opengl32.dll to load the ; 423 : // OpenGL ICD, from which we can then query WGL extensions ; 424 : // NOTE: This code will accept the Microsoft GDI ICD; accelerated context ; 425 : // creation failure occurs during manual pixel format enumeration ; 426 : ; 427 : dc = GetDC(_glfw.win32.helperWindowHandle); 0013c 48 8b 0d 80 1b 00 00 mov rcx, QWORD PTR _glfw+7040 00143 ff 15 00 00 00 00 call QWORD PTR __imp_GetDC 00149 48 89 85 a8 00 00 00 mov QWORD PTR dc$[rbp], rax ; 428 : ; 429 : ZeroMemory(&pfd, sizeof(pfd)); 00150 41 b8 28 00 00 00 mov r8d, 40 ; 00000028H 00156 33 d2 xor edx, edx 00158 48 8d 4d 08 lea rcx, QWORD PTR pfd$[rbp] 0015c e8 00 00 00 00 call memset ; 430 : pfd.nSize = sizeof(pfd); 00161 b8 28 00 00 00 mov eax, 40 ; 00000028H 00166 66 89 45 08 mov WORD PTR pfd$[rbp], ax ; 431 : pfd.nVersion = 1; 0016a b8 01 00 00 00 mov eax, 1 0016f 66 89 45 0a mov WORD PTR pfd$[rbp+2], ax ; 432 : pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL | PFD_DOUBLEBUFFER; 00173 c7 45 0c 25 00 00 00 mov DWORD PTR pfd$[rbp+4], 37 ; 00000025H ; 433 : pfd.iPixelType = PFD_TYPE_RGBA; 0017a c6 45 10 00 mov BYTE PTR pfd$[rbp+8], 0 ; 434 : pfd.cColorBits = 24; 0017e c6 45 11 18 mov BYTE PTR pfd$[rbp+9], 24 ; 435 : ; 436 : if (!SetPixelFormat(dc, ChoosePixelFormat(dc, &pfd), &pfd)) 00182 48 8d 55 08 lea rdx, QWORD PTR pfd$[rbp] 00186 48 8b 8d a8 00 00 00 mov rcx, QWORD PTR dc$[rbp] 0018d ff 15 00 00 00 00 call QWORD PTR __imp_ChoosePixelFormat 00193 4c 8d 45 08 lea r8, QWORD PTR pfd$[rbp] 00197 8b d0 mov edx, eax 00199 48 8b 8d a8 00 00 00 mov rcx, QWORD PTR dc$[rbp] 001a0 ff 15 00 00 00 00 call QWORD PTR __imp_SetPixelFormat 001a6 85 c0 test eax, eax 001a8 75 18 jne SHORT $LN4@glfwInitWG ; 437 : { ; 438 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR, 001aa 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0DC@IPDIACJO@WGL?3?5Failed?5to?5set?5pixel?5format@ 001b1 b9 08 00 01 00 mov ecx, 65544 ; 00010008H 001b6 e8 00 00 00 00 call _glfwInputErrorWin32 ; 439 : "WGL: Failed to set pixel format for dummy context"); ; 440 : return GLFW_FALSE; 001bb 33 c0 xor eax, eax 001bd e9 eb 01 00 00 jmp $LN1@glfwInitWG $LN4@glfwInitWG: ; 441 : } ; 442 : ; 443 : rc = wglCreateContext(dc); 001c2 48 8b 8d a8 00 00 00 mov rcx, QWORD PTR dc$[rbp] 001c9 ff 15 98 2c 00 00 call QWORD PTR _glfw+11416 001cf 48 89 45 68 mov QWORD PTR rc$[rbp], rax ; 444 : if (!rc) 001d3 48 83 7d 68 00 cmp QWORD PTR rc$[rbp], 0 001d8 75 18 jne SHORT $LN5@glfwInitWG ; 445 : { ; 446 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR, 001da 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0CE@KAEELGKL@WGL?3?5Failed?5to?5create?5dummy?5con@ 001e1 b9 08 00 01 00 mov ecx, 65544 ; 00010008H 001e6 e8 00 00 00 00 call _glfwInputErrorWin32 ; 447 : "WGL: Failed to create dummy context"); ; 448 : return GLFW_FALSE; 001eb 33 c0 xor eax, eax 001ed e9 bb 01 00 00 jmp $LN1@glfwInitWG $LN5@glfwInitWG: ; 449 : } ; 450 : ; 451 : pdc = wglGetCurrentDC(); 001f2 ff 15 b0 2c 00 00 call QWORD PTR _glfw+11440 001f8 48 89 85 88 00 00 00 mov QWORD PTR pdc$[rbp], rax ; 452 : prc = wglGetCurrentContext(); 001ff ff 15 b8 2c 00 00 call QWORD PTR _glfw+11448 00205 48 89 45 48 mov QWORD PTR prc$[rbp], rax ; 453 : ; 454 : if (!wglMakeCurrent(dc, rc)) 00209 48 8b 55 68 mov rdx, QWORD PTR rc$[rbp] 0020d 48 8b 8d a8 00 00 00 mov rcx, QWORD PTR dc$[rbp] 00214 ff 15 c0 2c 00 00 call QWORD PTR _glfw+11456 0021a 85 c0 test eax, eax 0021c 75 33 jne SHORT $LN6@glfwInitWG ; 455 : { ; 456 : _glfwInputErrorWin32(GLFW_PLATFORM_ERROR, 0021e 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:??_C@_0CK@JKJFDJLH@WGL?3?5Failed?5to?5make?5dummy?5conte@ 00225 b9 08 00 01 00 mov ecx, 65544 ; 00010008H 0022a e8 00 00 00 00 call _glfwInputErrorWin32 ; 457 : "WGL: Failed to make dummy context current"); ; 458 : wglMakeCurrent(pdc, prc); 0022f 48 8b 55 48 mov rdx, QWORD PTR prc$[rbp] 00233 48 8b 8d 88 00 00 00 mov rcx, QWORD PTR pdc$[rbp] 0023a ff 15 c0 2c 00 00 call QWORD PTR _glfw+11456 ; 459 : wglDeleteContext(rc); 00240 48 8b 4d 68 mov rcx, QWORD PTR rc$[rbp] 00244 ff 15 a0 2c 00 00 call QWORD PTR _glfw+11424 ; 460 : return GLFW_FALSE; 0024a 33 c0 xor eax, eax 0024c e9 5c 01 00 00 jmp $LN1@glfwInitWG $LN6@glfwInitWG: ; 461 : } ; 462 : ; 463 : // NOTE: Functions must be loaded first as they're needed to retrieve the ; 464 : // extension string that tells us whether the functions are supported ; 465 : _glfw.wgl.GetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC) 00251 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BK@HGDBIG@wglGetExtensionsStringEXT@ 00258 ff 15 a8 2c 00 00 call QWORD PTR _glfw+11432 0025e 48 89 05 e0 2c 00 00 mov QWORD PTR _glfw+11488, rax ; 466 : wglGetProcAddress("wglGetExtensionsStringEXT"); ; 467 : _glfw.wgl.GetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC) 00265 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BK@JOBLJGNA@wglGetExtensionsStringARB@ 0026c ff 15 a8 2c 00 00 call QWORD PTR _glfw+11432 00272 48 89 05 e8 2c 00 00 mov QWORD PTR _glfw+11496, rax ; 468 : wglGetProcAddress("wglGetExtensionsStringARB"); ; 469 : _glfw.wgl.CreateContextAttribsARB = (PFNWGLCREATECONTEXTATTRIBSARBPROC) 00279 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BL@PDDHMPGF@wglCreateContextAttribsARB@ 00280 ff 15 a8 2c 00 00 call QWORD PTR _glfw+11432 00286 48 89 05 f0 2c 00 00 mov QWORD PTR _glfw+11504, rax ; 470 : wglGetProcAddress("wglCreateContextAttribsARB"); ; 471 : _glfw.wgl.SwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC) 0028d 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BD@IINOPBDD@wglSwapIntervalEXT@ 00294 ff 15 a8 2c 00 00 call QWORD PTR _glfw+11432 0029a 48 89 05 d0 2c 00 00 mov QWORD PTR _glfw+11472, rax ; 472 : wglGetProcAddress("wglSwapIntervalEXT"); ; 473 : _glfw.wgl.GetPixelFormatAttribivARB = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC) 002a1 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BN@GDKHKIAN@wglGetPixelFormatAttribivARB@ 002a8 ff 15 a8 2c 00 00 call QWORD PTR _glfw+11432 002ae 48 89 05 d8 2c 00 00 mov QWORD PTR _glfw+11480, rax ; 474 : wglGetProcAddress("wglGetPixelFormatAttribivARB"); ; 475 : ; 476 : // NOTE: WGL_ARB_extensions_string and WGL_EXT_extensions_string are not ; 477 : // checked below as we are already using them ; 478 : _glfw.wgl.ARB_multisample = 002b5 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BE@BMOJHNDI@WGL_ARB_multisample@ 002bc e8 00 00 00 00 call extensionSupportedWGL 002c1 89 05 00 2d 00 00 mov DWORD PTR _glfw+11520, eax ; 479 : extensionSupportedWGL("WGL_ARB_multisample"); ; 480 : _glfw.wgl.ARB_framebuffer_sRGB = 002c7 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BJ@CIMJOHKL@WGL_ARB_framebuffer_sRGB@ 002ce e8 00 00 00 00 call extensionSupportedWGL 002d3 89 05 04 2d 00 00 mov DWORD PTR _glfw+11524, eax ; 481 : extensionSupportedWGL("WGL_ARB_framebuffer_sRGB"); ; 482 : _glfw.wgl.EXT_framebuffer_sRGB = 002d9 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BJ@ODLLHDDH@WGL_EXT_framebuffer_sRGB@ 002e0 e8 00 00 00 00 call extensionSupportedWGL 002e5 89 05 08 2d 00 00 mov DWORD PTR _glfw+11528, eax ; 483 : extensionSupportedWGL("WGL_EXT_framebuffer_sRGB"); ; 484 : _glfw.wgl.ARB_create_context = 002eb 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BH@NCJDMLMG@WGL_ARB_create_context@ 002f2 e8 00 00 00 00 call extensionSupportedWGL 002f7 89 05 10 2d 00 00 mov DWORD PTR _glfw+11536, eax ; 485 : extensionSupportedWGL("WGL_ARB_create_context"); ; 486 : _glfw.wgl.ARB_create_context_profile = 002fd 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BP@JAOBDJGN@WGL_ARB_create_context_profile@ 00304 e8 00 00 00 00 call extensionSupportedWGL 00309 89 05 14 2d 00 00 mov DWORD PTR _glfw+11540, eax ; 487 : extensionSupportedWGL("WGL_ARB_create_context_profile"); ; 488 : _glfw.wgl.EXT_create_context_es2_profile = 0030f 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0CD@FOMFMBIL@WGL_EXT_create_context_es2_prof@ 00316 e8 00 00 00 00 call extensionSupportedWGL 0031b 89 05 18 2d 00 00 mov DWORD PTR _glfw+11544, eax ; 489 : extensionSupportedWGL("WGL_EXT_create_context_es2_profile"); ; 490 : _glfw.wgl.ARB_create_context_robustness = 00321 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0CC@BFGHOMNL@WGL_ARB_create_context_robustne@ 00328 e8 00 00 00 00 call extensionSupportedWGL 0032d 89 05 1c 2d 00 00 mov DWORD PTR _glfw+11548, eax ; 491 : extensionSupportedWGL("WGL_ARB_create_context_robustness"); ; 492 : _glfw.wgl.ARB_create_context_no_error = 00333 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0CA@CJLAIOKE@WGL_ARB_create_context_no_error@ 0033a e8 00 00 00 00 call extensionSupportedWGL 0033f 89 05 20 2d 00 00 mov DWORD PTR _glfw+11552, eax ; 493 : extensionSupportedWGL("WGL_ARB_create_context_no_error"); ; 494 : _glfw.wgl.EXT_swap_control = 00345 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BF@NPDKPIKE@WGL_EXT_swap_control@ 0034c e8 00 00 00 00 call extensionSupportedWGL 00351 89 05 f8 2c 00 00 mov DWORD PTR _glfw+11512, eax ; 495 : extensionSupportedWGL("WGL_EXT_swap_control"); ; 496 : _glfw.wgl.EXT_colorspace = 00357 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BD@KGLHBPN@WGL_EXT_colorspace@ 0035e e8 00 00 00 00 call extensionSupportedWGL 00363 89 05 fc 2c 00 00 mov DWORD PTR _glfw+11516, eax ; 497 : extensionSupportedWGL("WGL_EXT_colorspace"); ; 498 : _glfw.wgl.ARB_pixel_format = 00369 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BF@OGGDOHFN@WGL_ARB_pixel_format@ 00370 e8 00 00 00 00 call extensionSupportedWGL 00375 89 05 0c 2d 00 00 mov DWORD PTR _glfw+11532, eax ; 499 : extensionSupportedWGL("WGL_ARB_pixel_format"); ; 500 : _glfw.wgl.ARB_context_flush_control = 0037b 48 8d 0d 00 00 00 00 lea rcx, OFFSET FLAT:??_C@_0BO@FABLLHKK@WGL_ARB_context_flush_control@ 00382 e8 00 00 00 00 call extensionSupportedWGL 00387 89 05 24 2d 00 00 mov DWORD PTR _glfw+11556, eax ; 501 : extensionSupportedWGL("WGL_ARB_context_flush_control"); ; 502 : ; 503 : wglMakeCurrent(pdc, prc); 0038d 48 8b 55 48 mov rdx, QWORD PTR prc$[rbp] 00391 48 8b 8d 88 00 00 00 mov rcx, QWORD PTR pdc$[rbp] 00398 ff 15 c0 2c 00 00 call QWORD PTR _glfw+11456 ; 504 : wglDeleteContext(rc); 0039e 48 8b 4d 68 mov rcx, QWORD PTR rc$[rbp] 003a2 ff 15 a0 2c 00 00 call QWORD PTR _glfw+11424 ; 505 : return GLFW_TRUE; 003a8 b8 01 00 00 00 mov eax, 1 $LN1@glfwInitWG: ; 506 : } 003ad 48 8b f8 mov rdi, rax 003b0 48 8d 4d e0 lea rcx, QWORD PTR [rbp-32] 003b4 48 8d 15 00 00 00 00 lea rdx, OFFSET FLAT:_glfwInitWGL$rtcFrameData 003bb e8 00 00 00 00 call _RTC_CheckStackVars 003c0 48 8b c7 mov rax, rdi 003c3 48 8b 8d 78 01 00 00 mov rcx, QWORD PTR __$ArrayPad$[rbp] 003ca 48 33 cd xor rcx, rbp 003cd e8 00 00 00 00 call __security_check_cookie 003d2 48 8d a5 88 01 00 00 lea rsp, QWORD PTR [rbp+392] 003d9 5f pop rdi 003da 5d pop rbp 003db c3 ret 0 _glfwInitWGL ENDP _TEXT ENDS END