mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 963550 - Warn about OpenGL non-support only once during execution instead of spamming the log. r=bjacob
This commit is contained in:
parent
9af64fcc37
commit
73913f9880
@ -895,7 +895,11 @@ nsBaseWidget::ComputeShouldAccelerate(bool aDefault)
|
||||
return true;
|
||||
|
||||
if (!whitelisted) {
|
||||
NS_WARNING("OpenGL-accelerated layers are not supported on this system");
|
||||
static int tell_me_once = 0;
|
||||
if (!tell_me_once) {
|
||||
NS_WARNING("OpenGL-accelerated layers are not supported on this system");
|
||||
tell_me_once = 1;
|
||||
}
|
||||
#ifdef MOZ_ANDROID_OMTC
|
||||
NS_RUNTIMEABORT("OpenGL-accelerated layers are a hard requirement on this platform. "
|
||||
"Cannot continue without support for them");
|
||||
|
Loading…
Reference in New Issue
Block a user