You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Support for CPU based particles, which aids compatibility with OpenGL ES 2.0
This commit is contained in:
@@ -97,6 +97,8 @@ void VisualServerRaster::draw(bool p_swap_buffers) {
|
||||
|
||||
changes = 0;
|
||||
|
||||
VS::get_singleton()->emit_signal("frame_pre_draw");
|
||||
|
||||
VSG::rasterizer->begin_frame();
|
||||
|
||||
VSG::scene->update_dirty_instances(); //update scene stuff
|
||||
@@ -122,7 +124,7 @@ void VisualServerRaster::draw(bool p_swap_buffers) {
|
||||
frame_drawn_callbacks.pop_front();
|
||||
}
|
||||
|
||||
emit_signal("frame_drawn_in_thread");
|
||||
VS::get_singleton()->emit_signal("frame_post_draw");
|
||||
}
|
||||
void VisualServerRaster::sync() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user