Added high-dpi / retina support to the no-game screen; additional minor tweaks and cleanup.

This commit is contained in:
Alex Szpakowski
2015-11-11 19:35:45 -04:00
parent 3cd18bae20
commit 7043b5314d
10 changed files with 2025 additions and 106 deletions
@@ -159,7 +159,7 @@ precision mediump float;
#endif
varying mediump vec4 VaryingTexCoord;
varying lowp vec4 VaryingColor;
varying mediump vec4 VaryingColor;
#define love_Canvases gl_FragData
@@ -307,7 +307,7 @@ vec4 position(mat4 transform_proj, vec4 vertpos) {
return transform_proj * vertpos;
}]],
pixel = [[
vec4 effect(lowp vec4 vcolor, Image tex, vec2 texcoord, vec2 pixcoord) {
vec4 effect(mediump vec4 vcolor, Image tex, vec2 texcoord, vec2 pixcoord) {
return Texel(tex, texcoord) * vcolor;
}]]
}