libretro / libretro/libretro-samples

OpenGL FF sample does not show geometry

Open
#29 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
91
Forks
38
Avg merge
1h 26m
Merged PRs (30d)
1

Description

Hello, I have built and run the current sources in /video/opengl/libretro_test_gl_fixedfunction in 3 different machines (Windows 7, Windows 10 and MacOS 10.14). In all 3 cases the core shows a flat color window, but the rectangle that should be drawn does not appear.

I have tried several variations for vertex coordinates and matrices, but no geometry is ever drawn. The background color does show, which suggests that the screen clear and the copy to framebuffer are indeed working. I also verified that the core is running in a compatibility context, and no GL_INVALID_OPERATION happens with glBegin(), etc. Any clue what could be happening here?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by building and running /video/opengl/libretro_test_gl_fixedfunction on a compatibility-context OpenGL setup, then inspect the sample's rendering path around the clear, geometry draw, and framebuffer copy. Done means the expected rectangle appears instead of only a flat-color window.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.