Revert "Re-enable multisample buffer configs."
This reverts commit f8271089204ba7a32551f4120443afdcedc98541.
This change causes 66 failures in the EGL cts.
Largely in the dEQP-EGL.functional.color_clears group.
Test: Ran dEQP tests directly with swiftshader
Change-Id: Ib1f3d9823c95ce91a7d242f6578edee1f882f81c
diff --git a/stream-servers/gl/glestranslator/EGL/EglDisplay.cpp b/stream-servers/gl/glestranslator/EGL/EglDisplay.cpp
index fd5b09c..dacd1c0 100644
--- a/stream-servers/gl/glestranslator/EGL/EglDisplay.cpp
+++ b/stream-servers/gl/glestranslator/EGL/EglDisplay.cpp
@@ -612,13 +612,14 @@
// or having no depth/stencil causes some
// unexpected behavior in real usage, such
// as frame corruption and wrong drawing order.
+ // Also, disallow high MSAA.
// Just don't use those configs.
if (info->red_size > 8 ||
info->green_size > 8 ||
info->blue_size > 8 ||
info->depth_size < 24 ||
info->stencil_size < 8 ||
- info->samples_per_pixel > 2) {
+ info->samples_per_pixel > 0) {
return;
}