mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-01 04:55:03 +00:00
Fix border issue
This commit is contained in:
@ -440,10 +440,6 @@ void Renderer::reset(int w, int h)
|
||||
texsizeX = w;
|
||||
texsizeY = h;
|
||||
|
||||
// snap to 16x16 blocks
|
||||
texsizeX = ((texsizeX+15)/16)*16;
|
||||
texsizeY = ((texsizeY+15)/16)*16;
|
||||
|
||||
m_fAspectX = (texsizeY > texsizeX) ? (float)texsizeX/(float)texsizeY : 1.0f;
|
||||
m_fAspectY = (texsizeX > texsizeY) ? (float)texsizeY/(float)texsizeX : 1.0f;
|
||||
m_fInvAspectX = 1.0f/m_fAspectX;
|
||||
|
||||
Reference in New Issue
Block a user