mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
arm64 : fix intptr_t size
This commit is contained in:
@@ -563,7 +563,7 @@ struct TOGL_CLASS IDirect3DDevice9 : public IUnknown
|
||||
|
||||
void TOGLMETHODCALLTYPE AcquireThreadOwnership( );
|
||||
void TOGLMETHODCALLTYPE ReleaseThreadOwnership( );
|
||||
inline DWORD TOGLMETHODCALLTYPE GetCurrentOwnerThreadId() const { return m_ctx->m_nCurOwnerThreadId; }
|
||||
inline uintp TOGLMETHODCALLTYPE GetCurrentOwnerThreadId() const { return m_ctx->m_nCurOwnerThreadId; }
|
||||
|
||||
FORCEINLINE void TOGLMETHODCALLTYPE SetMaxUsedVertexShaderConstantsHint( uint nMaxReg );
|
||||
void TOGLMETHODCALLTYPE SetMaxUsedVertexShaderConstantsHintNonInline( uint nMaxReg );
|
||||
|
||||
@@ -1448,7 +1448,7 @@ class GLMContext
|
||||
#endif
|
||||
|
||||
FORCEINLINE void SetMaxUsedVertexShaderConstantsHint( uint nMaxConstants );
|
||||
FORCEINLINE DWORD GetCurrentOwnerThreadId() const { return m_nCurOwnerThreadId; }
|
||||
FORCEINLINE uintp GetCurrentOwnerThreadId() const { return m_nCurOwnerThreadId; }
|
||||
|
||||
protected:
|
||||
friend class GLMgr; // only GLMgr can make GLMContext objects
|
||||
@@ -1573,7 +1573,7 @@ class GLMContext
|
||||
// members------------------------------------------
|
||||
|
||||
// context
|
||||
DWORD m_nCurOwnerThreadId;
|
||||
uintp m_nCurOwnerThreadId;
|
||||
uint m_nThreadOwnershipReleaseCounter;
|
||||
|
||||
bool m_bUseSamplerObjects;
|
||||
|
||||
Reference in New Issue
Block a user