Skip to content

Commit f23beec

Browse files
committed
#497 Ensure not sending pointer data as texture and buffer data
1 parent 99e69f5 commit f23beec

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/core/buffer.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ impl<T: BufferDataType + PrimitiveDataType> BufferDataType for [T; 4] {}
4040

4141
impl BufferDataType for Quat {}
4242

43-
impl<T: BufferDataType + ?Sized> BufferDataType for &T {}
44-
4543
struct Buffer {
4644
context: Context,
4745
id: crate::context::Buffer,

src/core/texture.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ impl<T: TextureDataType + PrimitiveDataType> TextureDataType for [T; 4] {}
5757

5858
impl TextureDataType for Quat {}
5959

60-
impl<T: TextureDataType + ?Sized> TextureDataType for &T {}
61-
6260
/// The basic data type used for each pixel in a depth texture.
6361
pub trait DepthTextureDataType: DepthDataType {}
6462

0 commit comments

Comments
 (0)