mirror of
https://github.com/leozide/leocad.git
synced 2026-09-15 11:03:55 +00:00
Linux fixes.
This commit is contained in:
+2
-10
@@ -643,20 +643,12 @@ int aboutdlg_execute(void* param)
|
||||
else
|
||||
strcat(info, "No.\n");
|
||||
|
||||
strcat(info, "Compiled Vertex Arrays: ");
|
||||
if (GL_HasCompiledVertexArrays())
|
||||
strcat(info, "Vertex Buffer Objects: ");
|
||||
if (GL_HasVertexBufferObject())
|
||||
strcat(info, "Supported.\n");
|
||||
else
|
||||
strcat(info, "Not supported.\n");
|
||||
|
||||
strcat(info, "Multitexturing: ");
|
||||
if (GL_GetMultiTextures() > 1)
|
||||
{
|
||||
sprintf(buf, "Supported, %i texture units.\n", GL_GetMultiTextures());
|
||||
strcat(info, buf);
|
||||
}
|
||||
else
|
||||
strcat(info, "Not supported.\n");
|
||||
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &value);
|
||||
sprintf(buf, "Maximum texture size: %ix%i", value, value);
|
||||
strcat(info, buf);
|
||||
|
||||
Reference in New Issue
Block a user