mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-16 17:31:50 +00:00
Fix compile errors on linux.
This commit is contained in:
parent
3c2f1952fd
commit
ddf58b43c9
2 changed files with 3 additions and 3 deletions
|
@ -814,7 +814,7 @@ CCMD(textureinfo)
|
||||||
if (tex->gl_info.SystemTexture[0] || tex->gl_info.SystemTexture[1] || tex->gl_info.Material[0] || tex->gl_info.Material[1])
|
if (tex->gl_info.SystemTexture[0] || tex->gl_info.SystemTexture[1] || tex->gl_info.Material[0] || tex->gl_info.Material[1])
|
||||||
{
|
{
|
||||||
int lump = tex->GetSourceLump();
|
int lump = tex->GetSourceLump();
|
||||||
Printf(PRINT_LOG, "Texture '%s' (Index %d, Lump %d, Name '%s'):\n", tex->Name, i, lump, Wads.GetLumpFullName(lump));
|
Printf(PRINT_LOG, "Texture '%s' (Index %d, Lump %d, Name '%s'):\n", (const char*)(tex->Name), i, lump, Wads.GetLumpFullName(lump));
|
||||||
if (tex->gl_info.Material[0])
|
if (tex->gl_info.Material[0])
|
||||||
{
|
{
|
||||||
Printf(PRINT_LOG, "in use (normal)\n");
|
Printf(PRINT_LOG, "in use (normal)\n");
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
#include "x86.h"
|
#include "x86.h"
|
||||||
#include "m_fixed.h"
|
#include "m_fixed.h"
|
||||||
|
|
||||||
|
extern bool gl_benching;
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
|
||||||
extern double gl_SecondsPerCycle;
|
extern double gl_SecondsPerCycle;
|
||||||
extern double gl_MillisecPerCycle;
|
extern double gl_MillisecPerCycle;
|
||||||
extern bool gl_benching;
|
|
||||||
|
|
||||||
|
|
||||||
__forceinline long long GetClockCycle ()
|
__forceinline long long GetClockCycle ()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue