From dccf8b13233e7115bff8d746fdfc25cf4f994c7e Mon Sep 17 00:00:00 2001 From: chatlanin Date: Tue, 21 Mar 2023 14:46:55 +0300 Subject: [PATCH] add log to texture --- src/try_engine/renderer/texture/texture.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/try_engine/renderer/texture/texture.cpp b/src/try_engine/renderer/texture/texture.cpp index 427b7ae..40421f3 100644 --- a/src/try_engine/renderer/texture/texture.cpp +++ b/src/try_engine/renderer/texture/texture.cpp @@ -9,6 +9,8 @@ namespace try_engine void texture::make() { + hack::log()("texture_id", texture_id); + if (!texture_id) { glGenTextures(1, &texture_id);