version 1.2.0

fixed framebuffer size feature
This commit is contained in:
2023-05-17 15:58:39 +03:00
parent 484a7f972f
commit 292f68a574
15 changed files with 73 additions and 23 deletions

View File

@@ -81,6 +81,11 @@ QSize OpenGLWindow::pixelSize() const {
}
QRect OpenGLWindow::pixelRect() const {
return QRect(0, 0, pixelWidth(), pixelHeight());
}
// void OpenGLWindow::setSamples(int samples) {
// QSurfaceFormat f = requestedFormat();
// if (f.samples() != samples) {