mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-03-28 18:03:44 +00:00
21 lines
338 B
Python
Executable File
21 lines
338 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
from scripts.glsl2c import write_binary
|
|
from pathlib import Path
|
|
import sys
|
|
|
|
|
|
def main() -> int:
|
|
if len(sys.argv) < 2:
|
|
print("glsl2pak.py <shader_file>... output")
|
|
return 1
|
|
|
|
output = sys.argv.pop()
|
|
print(sys.argv)
|
|
|
|
return 0
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|