We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a5fe33 commit 75cb975Copy full SHA for 75cb975
src/debug.rs
@@ -161,8 +161,6 @@ impl TimestampQuery {
161
/// It takes some time to retrieve the value, during which you can execute other
162
/// functions.
163
pub fn is_ready(&self) -> bool {
164
- use std::mem;
165
-
166
let ctxt = self.context.make_current();
167
168
if ctxt.version >= &Version(Api::Gl, 3, 2) { // TODO: extension
@@ -188,8 +186,6 @@ impl TimestampQuery {
188
186
///
189
187
/// This function doesn't block if `is_ready` returns true.
190
pub fn get(self) -> u64 {
191
192
193
194
195
0 commit comments