Add CShowPixelsParams class to SDK.

* ImGui will draw twice if we don't check for m_noBlit.

Signed-off-by: aixxe <me@aixxe.net>
This commit is contained in:
aixxe 2016-12-20 16:24:00 +00:00
parent 7d0497e049
commit c40361343c
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#pragma once
class CShowPixelsParams {
public:
unsigned int m_srcTexName;
int m_width;
int m_height;
bool m_vsyncEnable;
bool m_fsEnable;
bool m_useBlit;
bool m_noBlit;
bool m_onlySyncView;
};

View File

@ -13,6 +13,7 @@
#include "Structures/Vector.h" #include "Structures/Vector.h"
#include "Structures/PlayerInfo.h" #include "Structures/PlayerInfo.h"
#include "Classes/CShowPixelsParams.h"
#include "Classes/CUserCmd.h" #include "Classes/CUserCmd.h"
#include "Classes/CInput.h" #include "Classes/CInput.h"
#include "Classes/CBaseHandle.h" #include "Classes/CBaseHandle.h"