Skip to content

Commit

Permalink
Added missing core changes for the last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sectopod committed Mar 19, 2016
1 parent 247d653 commit 6649143
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/src/draw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ pub trait CommandBuffer<R: Resources> {
/// Update a texture
fn update_texture(&mut self, R::Texture, tex::Kind, Option<tex::CubeFace>,
data: &[u8], tex::RawImageInfo);
fn generate_mipmap(&mut self, R::ShaderResourceView);
/// Clear color target
fn clear_color(&mut self, R::RenderTargetView, ClearColor);
fn clear_depth_stencil(&mut self, R::DepthStencilView,
Expand Down
1 change: 1 addition & 0 deletions src/core/src/dummy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ impl draw::CommandBuffer<DummyResources> for DummyCommandBuffer {
fn update_buffer(&mut self, _: (), _: &[u8], _: usize) {}
fn update_texture(&mut self, _: (), _: tex::Kind, _: Option<tex::CubeFace>,
_: &[u8], _: tex::RawImageInfo) {}
fn generate_mipmap(&mut self, _: ()) {}
fn clear_color(&mut self, _: (), _: draw::ClearColor) {}
fn clear_depth_stencil(&mut self, _: (), _: Option<target::Depth>,
_: Option<target::Stencil>) {}
Expand Down

0 comments on commit 6649143

Please sign in to comment.