mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 23:58:59 +00:00
OGL: Scale OSD text on big screens.
This commit is contained in:
parent
d4449971c9
commit
a5c0739fab
2 changed files with 12 additions and 4 deletions
|
@ -157,6 +157,7 @@ RasterFont::RasterFont()
|
|||
}
|
||||
}
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
||||
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, CHARACTER_WIDTH * CHARACTER_COUNT, CHARACTER_HEIGHT, 0,
|
||||
GL_RGBA, GL_UNSIGNED_BYTE, texture_data.data());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue