Create C example

This commit is contained in:
Joshua Groves committed 2018-09-23 13:25:05 -06:00
1 parent d94d45cd80
commit 08ad0f40ed
16 files changed
+140 -90

No files matched your search

+2 -2
View File
@@ -72,13 +72,13 @@ pub struct CommandBuffer<B: hal::Backend> {
pub struct CommandBufferDescriptor;
#[no_mangle]
pub extern "C" fn command_buffer_begin_render_pass(
pub extern "C" fn wgpu_command_buffer_begin_render_pass(
command_buffer: CommandBufferId,
) -> RenderPassId {
unimplemented!()
}
#[no_mangle]
pub extern "C" fn command_buffer_begin_compute_pass() -> ComputePassId {
pub extern "C" fn wgpu_command_buffer_begin_compute_pass() -> ComputePassId {
unimplemented!()
}