mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
macOS build support
This commit is contained in:
@@ -2692,6 +2692,7 @@ GLMContext::GLMContext( IDirect3DDevice9 *pDevice, GLMDisplayParams *params )
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
if ( m_caps.m_badDriver108Intel )
|
||||
{
|
||||
// this way we have something to look for in terminal spew if users report issues related to this in the future.
|
||||
@@ -2701,6 +2702,7 @@ GLMContext::GLMContext( IDirect3DDevice9 *pDevice, GLMDisplayParams *params )
|
||||
Warning( "Unable to enable OSX 10.8 / Intel HD4000 workaround, there might be crashes.\n" );
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
#endif
|
||||
// also, set the remote convar "gl_can_query_fast" to 1 if perf package present, else 0.
|
||||
@@ -4899,7 +4901,7 @@ static inline uint GetDataTypeSizeInBytes( GLenum dataType )
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef OSX
|
||||
#if 1 //ifndef OSX
|
||||
|
||||
void GLMContext::DrawRangeElementsNonInline( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, uint baseVertex, CGLMBuffer *pIndexBuf )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user