Use glLineWidth/glPointSize to specify the width of rasterized lines and size of points.

This commit is contained in:
raven02 authored and Henrik Rydgård committed 2013-10-09 19:01:21 +02:00
1 parent 014b3d0a2b
commit 23b817f86c
1 file changed
+9
+9
View File
@@ -784,6 +784,15 @@ void FramebufferManager::CopyDisplayToOutput() {
if (resized_) {
ClearBuffer();
DestroyDraw2DProgram();
#ifndef USING_GLES2
if (g_Config.iInternalResolution == 0) {
glLineWidth(std::max(1, (int)(PSP_CoreParameter().renderWidth / 480)));
glPointSize(std::max(1.0f, (float)(PSP_CoreParameter().renderWidth / 480.f)));
} else {
glLineWidth(g_Config.iInternalResolution);
glPointSize((float)g_Config.iInternalResolution);
}
#endif
}
if (vfb->fbo) {