clear our column buffer after allocation

This commit is contained in:
Alug committed 2025-10-19 21:59:27 +02:00
1 parent a6438da531
commit 7555d689db
1 file changed
+3 -1
+3 -1
View File
@@ -636,8 +636,10 @@ void R_InitViewBuffer(INT32 width, INT32 height)
bufsize++;
temp_dc.buf = static_cast<UINT8*>(aligned_alloc(16, bufsize));
#else
temp_dc.buf = static_cast<UINT8*>(Z_Calloc(bufsize, PU_STATIC, NULL));
temp_dc.buf = static_cast<UINT8*>(Z_Malloc(bufsize, PU_STATIC, NULL));
#endif
memset(temp_dc.buf, 0, bufsize);
}
/** \brief The R_VideoErase function