Auto-replace texture2D with texture to fix issues with deprecated function names (#1278)

This commit is contained in:
20kdc
2020-09-03 19:15:09 +02:00
committed by GitHub
parent 17402b69f7
commit 49242f8a0a
@@ -4,9 +4,10 @@
// It's literally just called the Z-Library for alphabetical ordering reasons.
// - 20kdc
// -- varying/attribute --
// -- varying/attribute/texture2D --
#ifndef HAS_VARYING_ATTRIBUTE
#define texture2D texture
#ifdef VERTEX_SHADER
#define varying out
#define attribute in