Skip to content

graphics: fall back to GDI when DirectDraw isn't available or failed to init#3

Open
mrpapersonic wants to merge 2 commits intoConspiracyHu:mainfrom
mrpapersonic:gdi
Open

graphics: fall back to GDI when DirectDraw isn't available or failed to init#3
mrpapersonic wants to merge 2 commits intoConspiracyHu:mainfrom
mrpapersonic:gdi

Conversation

@mrpapersonic
Copy link

@mrpapersonic mrpapersonic commented Aug 3, 2025

This separates the graphics class into different subclasses as well, with windows-specific things in one class that both GDI and directdraw inherit from, etc.

Also removes the explicit directdraw library dependency by loading it in at runtime.

<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line can be reverted back to v143, vs2019 doesn't have toolset v143..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant