Skip to content

Commit d0ed89b

Browse files
committed
Merge pull request #435 from mtsr/rfc369-numerics-fixes
Fix rust-lang/rust#18827 related issue.
2 parents 65962fe + 58bbb0e commit d0ed89b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gl_device/tex.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ use super::state;
1818
use tex;
1919
use attrib;
2020

21+
use std::num::Float;
22+
2123
/// A token produced by the `bind_texture` that allows following up
2224
/// with a GL-compatibility sampler settings in `bind_sampler`
2325
pub struct BindAnchor(GLenum);

0 commit comments

Comments
 (0)