提交 7f59eebe 编写于 作者: J jp9000

and fixed one more little bug

上级 f9c2aadf
......@@ -72,7 +72,7 @@ texture_t device_create_cubetexture(device_t device, uint32_t size,
return (texture_t)tex;
fail:
texture_destroy((texture_t)tex);
cubetexture_destroy((texture_t)tex);
blog(LOG_ERROR, "device_create_cubetexture (GL) failed");
return NULL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册