Skip to content

Commit

Permalink
#497 Ensure not sending pointer data as texture and buffer data
Browse files Browse the repository at this point in the history
  • Loading branch information
asny committed Nov 15, 2024
1 parent 99e69f5 commit f23beec
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/core/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ impl<T: BufferDataType + PrimitiveDataType> BufferDataType for [T; 4] {}

impl BufferDataType for Quat {}

impl<T: BufferDataType + ?Sized> BufferDataType for &T {}

struct Buffer {
context: Context,
id: crate::context::Buffer,
Expand Down
2 changes: 0 additions & 2 deletions src/core/texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ impl<T: TextureDataType + PrimitiveDataType> TextureDataType for [T; 4] {}

impl TextureDataType for Quat {}

impl<T: TextureDataType + ?Sized> TextureDataType for &T {}

/// The basic data type used for each pixel in a depth texture.
pub trait DepthTextureDataType: DepthDataType {}

Expand Down

0 comments on commit f23beec

Please sign in to comment.