RobLoach / RobLoach/raylib-nuklear

TextureToNuklear upside down

Open
#87 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
269
Forks
24
PR merge metrics
No merged PRs in 30d

Description

When using TextureToNuklear my image is upside down. From googling I understand the texture is like that by design, but I'm looking for the easiest way to flip it before converting and using it with nk_image with minimal performance impact.

What is the best way to deal with this ?

Thanks!

Tom

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 tracing TextureToNuklear and its use with nk_image, then inspect how raylib textures are oriented before conversion. Confirm the expected image orientation and identify a minimal-performance way to correct it before or during conversion; done means the resulting nk_image displays upright without unnecessary per-frame work.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.