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

Added a define for activating support for 'new' video code. #960

Open
wants to merge 1 commit into
base: vanilla
Choose a base branch
from

Conversation

isojalka
Copy link
Contributor

Vanilla Conquer had internal changes to how it handled frame rendering when SDL support was added. This code is only active for SDL builds, and not for builds with the legacy Windows video code enabled. However, this code should be used for all new video code implementations and not just SDL, so hiding it behind the SDL_BUILD is misleading and also makes it harder to add support for other platforms.

Changed the compile time checks for SDL_BUILD into NEW_VIDEO_BUILD where those checks guard code that is not SDL-specific.

Vanilla Conquer had internal changes to how it handled frame
rendering when SDL support was added. This code is only active for
SDL builds, and not for builds with the legacy Windows video code
enabled. However, this code should be used for all new video code
implementations and not just SDL, so hiding it behind the SDL_BUILD
is misleading and also makes it harder to add support for other
platforms.

Changed the compile time checks for SDL_BUILD into NEW_VIDEO_BUILD
where those checks guard code that is not SDL-specific.
@OmniBlade
Copy link
Contributor

I don't seem to be able to rebase this from the github UI, does it need a manual rebase @isojalka?

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.

None yet

2 participants