Browse Source

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

pull/2/head
Andrey Akhmichin 1 year ago committed by Alibek Omarov
parent
commit
16cc0ca0fe
  1. 2
      ref/gl/gl2_shim/gl2_shim.c

2
ref/gl/gl2_shim/gl2_shim.c

@ -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

Loading…
Cancel
Save