summaryrefslogtreecommitdiff
path: root/indra/newview/lldynamictexture.h
diff options
context:
space:
mode:
authorAnsariel <ansariel.hiller@phoenixviewer.com>2024-02-21 21:05:14 +0100
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-02-21 23:14:31 +0200
commit60d3dd98a44230c21803c1606552ee098ed9fa7c (patch)
treeaf0aa11c458ca86f786560e0875f7e018e1a16b9 /indra/newview/lldynamictexture.h
parent855eea7ddf9e1de9226036ca94ccb03ac0e311b9 (diff)
Convert remaining BOOL to bool
Diffstat (limited to 'indra/newview/lldynamictexture.h')
-rw-r--r--indra/newview/lldynamictexture.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/newview/lldynamictexture.h b/indra/newview/lldynamictexture.h
index caedf928c3..e2ae1090bc 100644
--- a/indra/newview/lldynamictexture.h
+++ b/indra/newview/lldynamictexture.h
@@ -60,7 +60,7 @@ public:
S32 height,
S32 components, // = 4,
EOrder order, // = ORDER_MIDDLE,
- BOOL clamp);
+ bool clamp);
/*virtual*/ S8 getType() const ;
@@ -69,15 +69,15 @@ public:
S32 getSize() { return mFullWidth * mFullHeight * mComponents; }
- virtual BOOL needsRender() { return TRUE; }
- virtual void preRender(BOOL clear_depth = TRUE);
- virtual BOOL render();
- virtual void postRender(BOOL success);
+ virtual bool needsRender() { return true; }
+ virtual void preRender(bool clear_depth = true);
+ virtual bool render();
+ virtual void postRender(bool success);
virtual void restoreGLTexture() {}
virtual void destroyGLTexture() {}
- static BOOL updateAllInstances();
+ static bool updateAllInstances();
static void destroyGL() ;
static void restoreGL() ;
@@ -85,10 +85,10 @@ public:
protected:
void generateGLTexture();
- void generateGLTexture(LLGLint internal_format, LLGLenum primary_format, LLGLenum type_format, BOOL swap_bytes = FALSE);
+ void generateGLTexture(LLGLint internal_format, LLGLenum primary_format, LLGLenum type_format, bool swap_bytes = false);
protected:
- BOOL mClamp;
+ bool mClamp;
LLCoordGL mOrigin;
LL_ALIGN_16(LLCamera mCamera);