- fixed typo in HAVE_SOFTPOLY.

This commit is contained in:
Christoph Oelckers 2020-04-22 21:57:59 +02:00
parent 7f83b190cc
commit 6934aebbe6
2 changed files with 5 additions and 5 deletions

View file

@ -203,9 +203,9 @@ if( MSVC )
# Function-level linking # Function-level linking
# Disable run-time type information # Disable run-time type information
if ( HAVE_VULKAN ) if ( HAVE_VULKAN )
set( ALL_C_FLAGS "/GF /Gy /permissive- /DHAVE_VULKAN /D_HAVE_SOFTPOLY" ) set( ALL_C_FLAGS "/GF /Gy /permissive- /DHAVE_VULKAN /DHAVE_SOFTPOLY" )
else() else()
set( ALL_C_FLAGS "/GF /Gy /permissive- /D_HAVE_SOFTPOLY" ) set( ALL_C_FLAGS "/GF /Gy /permissive- /DHAVE_SOFTPOLY" )
endif() endif()
# Use SSE 2 as minimum always as the true color drawers needs it for __vectorcall # Use SSE 2 as minimum always as the true color drawers needs it for __vectorcall
@ -241,9 +241,9 @@ if( MSVC )
else() else()
set( REL_LINKER_FLAGS "" ) set( REL_LINKER_FLAGS "" )
if ( HAVE_VULKAN ) if ( HAVE_VULKAN )
set( ALL_C_FLAGS "-ffp-contract=off -DHAVE_VULKAN -D_HAVE_SOFTPOLY" ) set( ALL_C_FLAGS "-ffp-contract=off -DHAVE_VULKAN -DHAVE_SOFTPOLY" )
else() else()
set( ALL_C_FLAGS "-ffp-contract=off -D_HAVE_SOFTPOLY" ) set( ALL_C_FLAGS "-ffp-contract=off -DHAVE_SOFTPOLY" )
endif() endif()
if ( UNIX ) if ( UNIX )

View file

@ -259,7 +259,7 @@ bool I_CreateVulkanSurface(VkInstance instance, VkSurfaceKHR *surface)
} }
#endif #endif
#if HAVE_SOFTPOLY #ifdef HAVE_SOFTPOLY
namespace namespace
{ {
SDL_Renderer* polyrendertarget = nullptr; SDL_Renderer* polyrendertarget = nullptr;