ref: gl: gl2_shim: replace "malloc.h" header with ALLOCA_H macro.

This commit is contained in:
Andrey Akhmichin 2023-11-17 15:45:30 +05:00 committed by Alibek Omarov
parent 83d26ad233
commit 16cc0ca0fe

View File

@ -34,7 +34,7 @@ Limitations:
#include "gl_local.h" #include "gl_local.h"
#ifndef XASH_GL_STATIC #ifndef XASH_GL_STATIC
#include "gl2_shim.h" #include "gl2_shim.h"
#include <malloc.h> #include ALLOCA_H
#define MAX_SHADERLEN 4096 #define MAX_SHADERLEN 4096
// increase this when adding more attributes // increase this when adding more attributes