This commit is contained in:
2019-07-23 22:13:07 +02:00
parent 20066091ea
commit cf0516b212
2 changed files with 1 additions and 5 deletions

View File

@@ -6,10 +6,6 @@ use std::iter::FromIterator;
mod vulkan;
impl GameData<'_> {
fn on_init(self: &Self) {
}
/// Returns true if event should be ignored by the vulkan handler
fn on_window_event(self: &Self, event: &Event) -> bool {
match event {

View File

@@ -464,7 +464,7 @@ fn window_size_dependent_setup(
}).collect::<Vec<_>>()
}
fn create_pipeline<T: RenderPassAbstract>(device: Arc<Device>, sub_pass: Subpass<Arc<T>>) -> Arc<GraphicsPipeline<SingleBufferDefinition<Vertex>, Box<PipelineLayoutAbstract + Send + Sync>, Arc<T>>> {
fn create_pipeline<T: RenderPassAbstract>(device: Arc<Device>, sub_pass: Subpass<Arc<T>>) -> Arc<GraphicsPipeline<SingleBufferDefinition<Vertex>, Box<dyn PipelineLayoutAbstract + Send + Sync>, Arc<T>>> {
let mesh_shader_vertex_entry;
let mesh_shader_fragment_entry;
let mesh_shader_module_vertex;