Bump engine submodule.
This commit is contained in:
parent
3621a340f1
commit
9131523ae7
2
engine
2
engine
@ -1 +1 @@
|
||||
Subproject commit ae3333e22e36667a0c02817fafb16ab7b8d1341b
|
||||
Subproject commit beca8798bf91edba954d31eb4e1a619ec2140c83
|
@ -219,9 +219,8 @@ def loop(display):
|
||||
while not keyboard.quit:
|
||||
events.update()
|
||||
time.update()
|
||||
begin_frame()
|
||||
clear_buffer(True, True, True)
|
||||
scene.draw(time)
|
||||
end_frame()
|
||||
swap_buffers(display)
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from engine import load_shader, resolve_input, select_shader, unselect_shader, destroy_shader
|
||||
from engine import create_shader, resolve_input, select_shader, unselect_shader, destroy_shader
|
||||
|
||||
def _cleanup(line):
|
||||
return line.partition('//')[0].strip()
|
||||
@ -70,7 +70,7 @@ class Shader:
|
||||
print("Loading fragment shader", frag_name)
|
||||
frag_lines = _load_source(path / (frag_name + '_opengles.frag'))
|
||||
assert frag_lines
|
||||
self._shader = load_shader(list(map(_convert, vert_lines)), list(map(_convert, frag_lines)))
|
||||
self._shader = create_shader(list(map(_convert, vert_lines)), list(map(_convert, frag_lines)))
|
||||
_parse(self, vert_lines, frag_lines)
|
||||
|
||||
def __del__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user