mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fix compiler warning
This commit is contained in:
parent
4f005fbfb5
commit
7bb2991ccb
@ -185,20 +185,20 @@ do_update(Thread *current_thread) {
|
|||||||
static const size_t buffer_size = 1024;
|
static const size_t buffer_size = 1024;
|
||||||
char buffer[buffer_size];
|
char buffer[buffer_size];
|
||||||
|
|
||||||
char *pattern = "Nodes: %d\n"
|
const char *pattern = "Nodes: %d\n"
|
||||||
"Instances: %d\n"
|
"Instances: %d\n"
|
||||||
"Transforms: %d\n"
|
"Transforms: %d\n"
|
||||||
"Nodes with Attribs: %d\n"
|
"Nodes with Attribs: %d\n"
|
||||||
"GeomNodes: %d\n"
|
"GeomNodes: %d\n"
|
||||||
"Geoms: %d\n"
|
"Geoms: %d\n"
|
||||||
"GeomVertexDatas: %d\n"
|
"GeomVertexDatas: %d\n"
|
||||||
"Vertices: %d\n"
|
"Vertices: %d\n"
|
||||||
"Normals: %d\n"
|
"Normals: %d\n"
|
||||||
"TexCoords: %d\n"
|
"TexCoords: %d\n"
|
||||||
"Tris: %d\n"
|
"Tris: %d\n"
|
||||||
"Lines: %d\n"
|
"Lines: %d\n"
|
||||||
"Points: %d\n"
|
"Points: %d\n"
|
||||||
"Texture memory: %.1f KB\n";
|
"Texture memory: %.1f KB\n";
|
||||||
|
|
||||||
#ifdef WIN32_VC
|
#ifdef WIN32_VC
|
||||||
_snprintf(buffer, buffer_size, pattern,
|
_snprintf(buffer, buffer_size, pattern,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user