Skip to content

Commit

Permalink
Fixed compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sammyfreg committed Dec 11, 2024
1 parent 8dd9ab2 commit 7153530
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Code/Client/Private/NetImgui_Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,9 @@ ClientInfo::ClientInfo()
, mFontTextureID(TextureCastFromUInt(uint64_t(0u)))
, mTexturesPendingSent(0)
, mTexturesPendingCreated(0)
, mbClientThreadActive(false)
, mbListenThreadActive(false)
, mbComInitActive(false)
{
memset(mTexturesPending, 0, sizeof(mTexturesPending));
}
Expand Down
6 changes: 3 additions & 3 deletions Code/Client/Private/NetImgui_Client.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ struct ClientInfo
std::atomic_uint32_t mTexturesPendingSent;
std::atomic_uint32_t mTexturesPendingCreated;

std::atomic_bool mbClientThreadActive = false; // True when connected and communicating with Server
std::atomic_bool mbListenThreadActive = false; // True when listening from connection request from Server
std::atomic_bool mbComInitActive = false; // True when attempting to initialize a new connection
std::atomic_bool mbClientThreadActive; // True when connected and communicating with Server
std::atomic_bool mbListenThreadActive; // True when listening from connection request from Server
std::atomic_bool mbComInitActive; // True when attempting to initialize a new connection
bool mbHasTextureUpdate = false;
bool mbIsDrawing = false; // We are inside a 'NetImgui::NewFrame' / 'NetImgui::EndFrame' (even if not for a remote draw)
bool mbIsRemoteDrawing = false; // True if the rendering it meant for the remote netImgui server
Expand Down

0 comments on commit 7153530

Please sign in to comment.