mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Follow-up fix for bug 736716 (fix bad style fix).
This commit is contained in:
parent
93f73de1fb
commit
5a21426f72
@ -343,8 +343,8 @@ ImageLayerOGL::RenderLayer(int,
|
||||
|
||||
GLContext::RectTriangles triangleBuffer;
|
||||
|
||||
float tex_offset_u = float((rect.x % iwidth) / iwidth);
|
||||
float tex_offset_v = float((rect.y % iheight) / iheight);
|
||||
float tex_offset_u = float(rect.x % iwidth) / iwidth;
|
||||
float tex_offset_v = float(rect.y % iheight) / iheight;
|
||||
triangleBuffer.addRect(rect.x, rect.y,
|
||||
rect.x + rect.width, rect.y + rect.height,
|
||||
tex_offset_u, tex_offset_v,
|
||||
|
Loading…
Reference in New Issue
Block a user