Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OpenGL] Invalid Debug text rendering using DebugText.Print method #2522

Open
Jklawreszuk opened this issue Nov 13, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@Jklawreszuk
Copy link
Collaborator

Release Type: Official Release/GitHub

Version: At least 4.2.0.2232

Platform(s): Any

Describe the bug

DebugText.Print method renders a black rectangle where text should render.

To Reproduce
Steps to reproduce the behavior:

  1. Set StrideGraphicsApi csproj property to OpenGL
  2. Invoke in any script DebugText.Print method with the text of your choice
  3. Run

Expected behavior
Correct rendered text

Screenshots
Image

@Jklawreszuk Jklawreszuk added the bug Something isn't working label Nov 13, 2024
@Basewq
Copy link
Contributor

Basewq commented Nov 13, 2024

This happens in Windows as well.
The render doc shows the following error on the font's texture:
Image

In comparison, this is what the DirectX version shows
Image

@Jklawreszuk
Copy link
Collaborator Author

Jklawreszuk commented Nov 14, 2024

Strange...
Image
I ran this project using Rider and it seems to work....
However running the app with dotnet run / vscode / VS does not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants