Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDI demo #59

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

GDI demo #59

wants to merge 8 commits into from

Conversation

nlapinski
Copy link

Added a GDI (native win32) demo. Tried to keep it as close to the SDL demo as I could.

-Even if its not merged, might be useful to some one.
-Two build scripts, one for msys2, one for msbuild.
-Mostly the same, except no bitmap support/icons, these are done with text.

image

static int needs_refresh = 1;


#ifdef __MINGW32__
Copy link

Choose a reason for hiding this comment

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

It should be

#ifndef __MINGW32__
       int running;
#endif

I've not yet tested it under mingw, but is there any issue while using mingw?

Copy link
Author

Choose a reason for hiding this comment

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

I'll be honest I cant remember - its been a while since I have looked at this. I do think there was a issue with exiting the window though yes.

@aiekick
Copy link

aiekick commented Aug 28, 2024

nice, but what is the performance ? it is redrawn each frame no ?

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.

3 participants