Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

mondrian tutorial doesn't work - graphics issues #58

@hom3mad3

Description

@hom3mad3

Hello everyone, I ran into a couple of issues while trying the tutorial:

$ cargo run
Running `target/debug/mondpaint`
paint_rectangle: 20, 20, 300, 250
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: DescriptorInit(PixelExport(0, None))', ../src/libcore/result.rs:788

note: Run with `RUST_BACKTRACE=1` for a backtrace.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any', ../src/libcore/result.rs:788
error: Process didn't exit successfully: `target/debug/mondpaint` (exit code: 101)

I'm running on Ubuntu 16.04 LTS 64-bit and I already tried switching to OpenGL::V2_1

// Change this to OpenGL::V2_1 if not working.
        let opengl = OpenGL::V1_2;

greetz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions