BOOL to bool
parent
c6d752b880
commit
8b747cee18
|
|
@ -196,7 +196,7 @@ LLPointer<LLGLTFPreviewTexture> LLGLTFPreviewTexture::create(LLPointer<LLFetched
|
|||
return new LLGLTFPreviewTexture(material, LLPipeline::MAX_BAKE_WIDTH);
|
||||
}
|
||||
|
||||
BOOL LLGLTFPreviewTexture::needsRender()
|
||||
bool LLGLTFPreviewTexture::needsRender()
|
||||
{
|
||||
LL_PROFILE_ZONE_SCOPED_CATEGORY_UI;
|
||||
|
||||
|
|
@ -211,7 +211,7 @@ BOOL LLGLTFPreviewTexture::needsRender()
|
|||
return false;
|
||||
}
|
||||
|
||||
void LLGLTFPreviewTexture::preRender(BOOL clear_depth)
|
||||
void LLGLTFPreviewTexture::preRender(bool clear_depth)
|
||||
{
|
||||
LL_PROFILE_ZONE_SCOPED_CATEGORY_UI;
|
||||
|
||||
|
|
@ -419,7 +419,7 @@ struct SetTemporarily
|
|||
|
||||
}; // namespace
|
||||
|
||||
BOOL LLGLTFPreviewTexture::render()
|
||||
bool LLGLTFPreviewTexture::render()
|
||||
{
|
||||
LL_PROFILE_ZONE_SCOPED_CATEGORY_UI;
|
||||
|
||||
|
|
@ -557,7 +557,7 @@ BOOL LLGLTFPreviewTexture::render()
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
void LLGLTFPreviewTexture::postRender(BOOL success)
|
||||
void LLGLTFPreviewTexture::postRender(bool success)
|
||||
{
|
||||
LL_PROFILE_ZONE_SCOPED_CATEGORY_UI;
|
||||
|
||||
|
|
|
|||
|
|
@ -40,10 +40,10 @@ public:
|
|||
// Width scales with size of material's textures
|
||||
static LLPointer<LLGLTFPreviewTexture> create(LLPointer<LLFetchedGLTFMaterial> material);
|
||||
|
||||
BOOL needsRender() override;
|
||||
void preRender(BOOL clear_depth = TRUE) override;
|
||||
BOOL render() override;
|
||||
void postRender(BOOL success) override;
|
||||
bool needsRender() override;
|
||||
void preRender(bool clear_depth = TRUE) override;
|
||||
bool render() override;
|
||||
void postRender(bool success) override;
|
||||
|
||||
struct MaterialLoadLevels
|
||||
{
|
||||
|
|
|
|||
|
|
@ -42,8 +42,8 @@
|
|||
#include "llviewerjoystick.h"
|
||||
#include "llviewermediafocus.h"
|
||||
|
||||
extern BOOL gCubeSnapshot;
|
||||
extern BOOL gTeleportDisplay;
|
||||
extern bool gCubeSnapshot;
|
||||
extern bool gTeleportDisplay;
|
||||
|
||||
// get the next highest power of two of v (or v if v is already a power of two)
|
||||
//defined in llvertexbuffer.cpp
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
d7915d67467e59287857630bd89bf9529d065198
|
||||
d7915d67467e59287857630bd89bf9529d065199
|
||||
Loading…
Reference in New Issue