Skip to content

Commit 70cc941

Browse files
committed
Adding a comment explaining the choice for int types instead of uint of a larger size
1 parent 821d9c8 commit 70cc941

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/model/framebuffer/FramebufferModel.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ class FramebufferModel: public QObject
7070
float* m_pixelBuffer;
7171
QImage m_image;
7272

73+
// Right now, the width and height are defined as Vec2i in OpenEXR
74+
// i.e. int type.
7375
int m_width, m_height;
7476

7577
bool m_isImageLoaded;

0 commit comments

Comments
 (0)