Testing some event stuff
This commit is contained in:
@ -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