- 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
# Disable run-time type information
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()
set( ALL_C_FLAGS "/GF /Gy /permissive- /D_HAVE_SOFTPOLY" )
set( ALL_C_FLAGS "/GF /Gy /permissive- /DHAVE_SOFTPOLY" )
endif()
# Use SSE 2 as minimum always as the true color drawers needs it for __vectorcall
@ -241,9 +241,9 @@ if( MSVC )
else()
set( REL_LINKER_FLAGS "" )
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()
set( ALL_C_FLAGS "-ffp-contract=off -D_HAVE_SOFTPOLY" )
set( ALL_C_FLAGS "-ffp-contract=off -DHAVE_SOFTPOLY" )
endif()
if ( UNIX )

View File

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