From d0cf34890c580585ed7552d9d8c7b17b9630b7e8 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 4 Dec 2016 15:01:48 +0100 Subject: [PATCH] - disabled R_DrawColumnHorizP_ASM because that function appears prone to crashing when rendering decals. --- src/r_draw.cpp | 2 +- src/r_draw.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/r_draw.cpp b/src/r_draw.cpp index 0f3d04884b..099904f25e 100644 --- a/src/r_draw.cpp +++ b/src/r_draw.cpp @@ -2556,7 +2556,7 @@ void R_InitColumnDrawers () { #ifdef X86_ASM R_DrawColumn = R_DrawColumnP_ASM; - R_DrawColumnHoriz = R_DrawColumnHorizP_ASM; + R_DrawColumnHoriz = R_DrawColumnHorizP_C; R_DrawFuzzColumn = R_DrawFuzzColumnP_ASM; R_DrawTranslatedColumn = R_DrawTranslatedColumnP_C; R_DrawShadedColumn = R_DrawShadedColumnP_C; diff --git a/src/r_draw.h b/src/r_draw.h index fa84e5ae91..0531493827 100644 --- a/src/r_draw.h +++ b/src/r_draw.h @@ -202,9 +202,10 @@ extern "C" void R_DrawFuzzColumnP_ASM (void); extern "C" void R_DrawSpanP_ASM (void); extern "C" void R_DrawSpanMaskedP_ASM (void); +void R_DrawColumnHorizP_C(void); + #else -void R_DrawColumnHorizP_C (void); void R_DrawColumnP_C (void); void R_DrawFuzzColumnP_C (void); void R_DrawTranslatedColumnP_C (void);