From d26100734623f37063206b9b144c2a29fd71d414 Mon Sep 17 00:00:00 2001 From: quou Date: Wed, 1 Jan 2025 18:43:31 +1100 Subject: material system --- video.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'video.cpp') diff --git a/video.cpp b/video.cpp index abcf47d..b8b3f51 100644 --- a/video.cpp +++ b/video.cpp @@ -2049,6 +2049,7 @@ Texture_Id Device::get_depth_target() { } Texture& Device::get_texture(Texture_Id id) { + assert(id.index); return ((Device_Vk*)this)->textures[id]; } -- cgit v1.2.3-54-g00ecf