Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 0bdf21e

Browse files
committed
Bug 1662281 - Don't warn when GL symbol lookup fails. We look up symbols for many extensions, for which symbol lookup is expected to fail. r=sotaro
We can bring this back if we have a way to only print the warning for essential symbols, bug 1322949. Differential Revision: https://phabricator.services.mozilla.com/D104462
1 parent 4b48af6 commit 0bdf21e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

gfx/webrender_bindings/src/bindings.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -501,12 +501,6 @@ fn get_proc_address(glcontext_ptr: *mut c_void, name: &str) -> *const c_void {
501501

502502
let symbol_name = CString::new(name).unwrap();
503503
let symbol = unsafe { get_proc_address_from_glcontext(glcontext_ptr, symbol_name.as_ptr()) };
504-
505-
if symbol.is_null() {
506-
// XXX Bug 1322949 Make whitelist for extensions
507-
warn!("Could not find symbol {:?} by glcontext", symbol_name);
508-
}
509-
510504
symbol as *const _
511505
}
512506

0 commit comments

Comments
 (0)