Testing some event stuff
This commit is contained in:
1 parent
ce926c5f17
commit
437b67ad06
20 files changed
+260
-30
No files matched your search
@@ -36,7 +36,8 @@ void BackBufferRenderTarget::setSize(
|
||||
// Fixes a new bug that it seems GLFW has introduced.
|
||||
this->width = width == 0 ? 1 : width;
|
||||
this->height = height == 0 ? 1 : height;
|
||||
// this->eventRenderTargetResized.invoke(*this, width, height);
|
||||
|
||||
onResize.emit(this->width, this->height);
|
||||
}
|
||||
|
||||
void BackBufferRenderTarget::setClearColor(const struct Color color) {
|
||||
|
||||
Reference in new issue
Block a user