mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Allow spaces for matrix hack.
This commit is contained in:
parent
68e8fbc45f
commit
846e72ad1e
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ def preprocess_vertex(source_data):
|
|||
input_data = source_data.split('\n')
|
||||
ret = []
|
||||
for line in input_data:
|
||||
if 'uniform float4x4' in line:
|
||||
if ('uniform' in line) and ('float4x4' in line):
|
||||
ret.append('#pragma pack_matrix(column_major)\n')
|
||||
ret.append(line)
|
||||
ret.append('#pragma pack_matrix(row_major)\n')
|
||||
|
|
Loading…
Add table
Reference in a new issue