mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-05 03:22:46 +02:00
Fix compile.
This commit is contained in:
parent
8a735a3c02
commit
b819224539
@ -53,7 +53,7 @@ void Camera::_request_camera_update() {
|
||||
void Camera::fti_update_servers() {
|
||||
if (camera.is_valid()) {
|
||||
Transform tr = _get_adjusted_camera_transform(_get_cached_global_transform_interpolated());
|
||||
VisualServer::get_singleton()->camera_set_transform(camera, tr);
|
||||
RenderingServer::get_singleton()->camera_set_transform(camera, tr);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -87,7 +87,7 @@ void VisualInstance::set_instance_use_identity_transform(bool p_enable) {
|
||||
|
||||
void VisualInstance::fti_update_servers() {
|
||||
if (!_is_using_identity_transform()) {
|
||||
VisualServer::get_singleton()->instance_set_transform(get_instance(), _get_cached_global_transform_interpolated());
|
||||
RenderingServer::get_singleton()->instance_set_transform(get_instance(), _get_cached_global_transform_interpolated());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1248,7 +1248,7 @@ bool RenderingServer::_mesh_find_format(RS::PrimitiveType p_primitive, const Arr
|
||||
}
|
||||
|
||||
uint32_t RenderingServer::mesh_find_format_from_arrays(PrimitiveType p_primitive, const Array &p_arrays, const Array &p_blend_shapes, uint32_t p_compress_format) {
|
||||
bool use_split_stream = GLOBAL_GET_CACHED(bool, "rendering/misc/mesh_storage/split_stream") && !(p_compress_format & rS::ARRAY_FLAG_USE_DYNAMIC_UPDATE);
|
||||
bool use_split_stream = GLOBAL_GET_CACHED(bool, "rendering/misc/mesh_storage/split_stream") && !(p_compress_format & RS::ARRAY_FLAG_USE_DYNAMIC_UPDATE);
|
||||
|
||||
uint32_t offsets[RS::ARRAY_MAX];
|
||||
|
||||
@ -1338,7 +1338,7 @@ void RenderingServer::mesh_add_surface_from_arrays(RID p_mesh, PrimitiveType p_p
|
||||
}
|
||||
|
||||
Array RenderingServer::_get_array_from_surface(uint32_t p_format, PoolVector<uint8_t> p_vertex_data, int p_vertex_len, PoolVector<uint8_t> p_index_data, int p_index_len) const {
|
||||
bool use_split_stream = GLOBAL_GET_CACHED(bool, "rendering/misc/mesh_storage/split_stream") && !(p_format & rS::ARRAY_FLAG_USE_DYNAMIC_UPDATE);
|
||||
bool use_split_stream = GLOBAL_GET_CACHED(bool, "rendering/misc/mesh_storage/split_stream") && !(p_format & RS::ARRAY_FLAG_USE_DYNAMIC_UPDATE);
|
||||
|
||||
uint32_t offsets[ARRAY_MAX];
|
||||
uint32_t strides[RS::ARRAY_MAX];
|
||||
|
Loading…
Reference in New Issue
Block a user