Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b9451a

Browse files
S1artiemagreenblatt
authored andcommitted
Windows: fix blue-tinted rendering in OSR mode (issue chromiumembedded#313)
1 parent 6bfae03 commit 6b9451a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/org/cef/browser/CefRenderer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ protected void render(GL2 gl2) {
115115

116116
// Draw the facets with the texture.
117117
assert(texture_id_[0] != 0);
118+
gl2.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
118119
gl2.glBindTexture(gl2.GL_TEXTURE_2D, texture_id_[0]);
119120
gl2.glInterleavedArrays(gl2.GL_T2F_V3F, 0, vertices);
120121
gl2.glDrawArrays(gl2.GL_QUADS, 0, 4);

0 commit comments

Comments
 (0)