diff --git a/lib/x11/ext/render.js b/lib/x11/ext/render.js index cfe6914..5a580e5 100644 --- a/lib/x11/ext/render.js +++ b/lib/x11/ext/render.js @@ -378,7 +378,8 @@ exports.requireExt = function(display, callback) ext.mono1 = f[0] ; if (f[2] == 24 && f[3] == 16 && f[5] == 8 && f[7] == 0) ext.rgb24 = f[0]; - if (f[2] == 32 && f[3] == 16 && f[5] == 8 && f[7] == 0 && f[9] == 24) + // 1, 32, 16, 255, 8, 255, 0, 255, 24, 255, 0 + if (f[2] == 32 && f[3] == 16 && f[4] == 255 && f[5] == 8 && f[6] == 255 && f[7] == 0 && f[9] == 24) ext.rgba32 = f[0] ; } callback(ext);