add log to texture
This commit is contained in:
parent
2b6ad6e33a
commit
dccf8b1323
@ -9,6 +9,8 @@ namespace try_engine
|
||||
|
||||
void texture::make()
|
||||
{
|
||||
hack::log()("texture_id", texture_id);
|
||||
|
||||
if (!texture_id)
|
||||
{
|
||||
glGenTextures(1, &texture_id);
|
||||
|
Reference in New Issue
Block a user