Changeset View
Changeset View
Standalone View
Standalone View
platformsupport/scenes/opengl/backend.cpp
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Line(s) | 109 | for (const QRect &r : region) { | |||
---|---|---|---|---|---|
111 | const int y0 = height - r.y() - r.height(); | 111 | const int y0 = height - r.y() - r.height(); | ||
112 | const int x1 = r.x() + r.width(); | 112 | const int x1 = r.x() + r.width(); | ||
113 | const int y1 = height - r.y(); | 113 | const int y1 = height - r.y(); | ||
114 | 114 | | |||
115 | glBlitFramebuffer(x0, y0, x1, y1, x0, y0, x1, y1, GL_COLOR_BUFFER_BIT, GL_NEAREST); | 115 | glBlitFramebuffer(x0, y0, x1, y1, x0, y0, x1, y1, GL_COLOR_BUFFER_BIT, GL_NEAREST); | ||
116 | } | 116 | } | ||
117 | } | 117 | } | ||
118 | 118 | | |||
119 | void OpenGLBackend::aboutToStartPainting(const QRegion &damage) | ||||
zzag: Style: add whitespace before `&` | |||||
120 | { | ||||
121 | Q_UNUSED(damage); | ||||
zzag: You missed this one ;-)
No semicolon after Q_UNUSED. | |||||
122 | } | ||||
119 | } | 123 | } |
Style: add whitespace before &