You've already forked godot
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:
committed by
Mateo Miccino
parent
aee36ec01b
commit
c933eb7acc
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user