cginternals / cginternals/gloperate

GlrawTextureLoader cannot load texture with file suffixes

Open
#329 0 comments 0 reactions 0 assignees View on GitHub
bug Core pending
Dominant language
C++
Stars
43
Forks
24
PR merge metrics
No merged PRs in 30d

Description

When converting "gloperate-logo.png" into a glraw texture, the default output name was "gloperate-logo.501.168.rgba.ub.glraw". This file could not be loaded with GlrawTextureLoader, propably because the detected suffix contains more than just ".glraw".

Fix GlrawTextureLoader to accept all ".glraw" and ".raw" files, regardless of how many periods the filename may include.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the GlrawTextureLoader entry point and reproduce the failure using gloperate-logo.501.168.rgba.ub.glraw. Check loading behavior for filenames containing multiple periods and for both .glraw and .raw suffixes; done means all such files load successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.