add log to texture

This commit is contained in:
chatlanin 2023-03-21 14:46:55 +03:00
parent 2b6ad6e33a
commit dccf8b1323

View File

@ -9,6 +9,8 @@ namespace try_engine
void texture::make()
{
hack::log()("texture_id", texture_id);
if (!texture_id)
{
glGenTextures(1, &texture_id);