Bump engine submodule.
This commit is contained in:
2
engine
2
engine
Submodule engine updated: 1b9ce54100...43d62948b7
@ -192,11 +192,9 @@ def main():
|
|||||||
select_texture(0, tiles_texture, tiles_sampler)
|
select_texture(0, tiles_texture, tiles_sampler)
|
||||||
select_texture(1, heightmap, terrain_heightmap_sampler)
|
select_texture(1, heightmap, terrain_heightmap_sampler)
|
||||||
select_texture(2, normalmap, terrain_normalmap_sampler)
|
select_texture(2, normalmap, terrain_normalmap_sampler)
|
||||||
select_vertices(tiles_vertices)
|
|
||||||
draw_begin = time.thread_time()
|
draw_begin = time.thread_time()
|
||||||
terrain_batch.draw()
|
terrain_batch.draw()
|
||||||
draw_end = time.thread_time()
|
draw_end = time.thread_time()
|
||||||
unselect_vertices(tiles_vertices)
|
|
||||||
unselect_texture(0, tiles_texture)
|
unselect_texture(0, tiles_texture)
|
||||||
unselect_texture(1, heightmap)
|
unselect_texture(1, heightmap)
|
||||||
unselect_texture(2, normalmap)
|
unselect_texture(2, normalmap)
|
||||||
@ -215,9 +213,7 @@ def main():
|
|||||||
select_texture(0, tests_texture, tests_sampler)
|
select_texture(0, tests_texture, tests_sampler)
|
||||||
select_texture(1, heightmap, tests_heightmap_sampler)
|
select_texture(1, heightmap, tests_heightmap_sampler)
|
||||||
select_texture(2, normalmap, tests_normalmap_sampler)
|
select_texture(2, normalmap, tests_normalmap_sampler)
|
||||||
select_vertices(tests_vertices)
|
|
||||||
tests_batch.draw()
|
tests_batch.draw()
|
||||||
unselect_vertices(tests_vertices)
|
|
||||||
unselect_texture(0, tests_texture)
|
unselect_texture(0, tests_texture)
|
||||||
unselect_texture(1, heightmap)
|
unselect_texture(1, heightmap)
|
||||||
unselect_texture(2, normalmap)
|
unselect_texture(2, normalmap)
|
||||||
|
Reference in New Issue
Block a user