1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Change when we can ERR_FAIL_COND and ERR_FAIL_CONV_V to static_assert

This commit is contained in:
Mateo Dev .59
2020-02-20 11:13:08 -03:00
committed by Mateo Miccino
parent aee36ec01b
commit c933eb7acc
4 changed files with 4 additions and 4 deletions

View File

@@ -2480,7 +2480,7 @@ RasterizerCanvasRD::RasterizerCanvasRD(RasterizerStorageRD *p_storage) {
state.time = 0;
ERR_FAIL_COND(sizeof(PushConstant) != 128);
static_assert(sizeof(PushConstant) == 128);
}
bool RasterizerCanvasRD::free(RID p_rid) {