[nostalgia] Remove std::move calls that suppressed copy elision
This commit is contained in:
@@ -143,7 +143,7 @@ static glutils::GLTexture loadTexture(GLsizei w, GLsizei h, void *pixels) noexce
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
|
||||
return ox::move(tex);
|
||||
return tex;
|
||||
}
|
||||
|
||||
static void tickFps(GlImplData *id) noexcept {
|
||||
|
||||
Reference in New Issue
Block a user