summaryrefslogtreecommitdiff
path: root/glsl_builders.py
diff options
context:
space:
mode:
Diffstat (limited to 'glsl_builders.py')
-rw-r--r--glsl_builders.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/glsl_builders.py b/glsl_builders.py
index e1a6e41bea..29971fd4e7 100644
--- a/glsl_builders.py
+++ b/glsl_builders.py
@@ -96,8 +96,6 @@ def build_rd_header(filename):
out_file = filename + ".gen.h"
fd = open(out_file, "w")
- enum_constants = []
-
fd.write("/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */\n")
out_file_base = out_file
@@ -165,7 +163,6 @@ class RAWHeaderStruct:
def include_file_in_raw_header(filename, header_data, depth):
fs = open(filename, "r")
line = fs.readline()
- text = ""
while line:
@@ -192,8 +189,6 @@ def build_raw_header(filename):
out_file = filename + ".gen.h"
fd = open(out_file, "w")
- enum_constants = []
-
fd.write("/* WARNING, THIS FILE WAS GENERATED, DO NOT EDIT */\n")
out_file_base = out_file.replace(".glsl.gen.h", "_shader_glsl")