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 into
ConspiracyHu: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 into
ConspiracyHu:mainfrom
mrpapersonic:gdi

Conversation

@mrpapersonic

@mrpapersonic mrpapersonic commented Aug 3, 2025

Copy link
Copy Markdown

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.

Comment thread SecondRealityW32.vcxproj
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>

Copy link
Copy Markdown
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