- added colorization for untranslated fonts. This uses the light color of the vertices. The software rendered 2D code will ignore this infomation.
- added a virtual OnRetrun method to menus.
This commit is contained in:
parent
d36f656caf
commit
01b095c911
10 changed files with 53 additions and 7 deletions
|
|
@ -2773,6 +2773,12 @@ void OpenGLSWFrameBuffer::DrawTextureParms(FTexture *img, DrawParms &parms)
|
|||
|
||||
vert = &VertexData[VertexPos];
|
||||
|
||||
{
|
||||
PalEntry color = color1;
|
||||
color = PalEntry((color.a * parms.color.a) / 255, (color.r * parms.color.r) / 255, (color.g * parms.color.g) / 255, (color.b * parms.color.b) / 255);
|
||||
color1 = color;
|
||||
}
|
||||
|
||||
// Fill the vertex buffer.
|
||||
vert[0].x = float(x0);
|
||||
vert[0].y = float(y0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue