raysan5 / raygui

A simple and easy-to-use immediate-mode gui library
zlib License
3.47k stars 298 forks source link

HDR format doesnt load on android #335

Closed AnasASK closed 1 year ago

AnasASK commented 1 year ago

I enabled .hdr support from config.h and rebuilt raylib for android.

unfortunately all I get is black texture.

Using raylib 4.5 my android specs:

Vendor: ARM Renderer: Mali-G72 MP3 Version: OpenGL ES 3.2

This is my code:

Texture2D t = LoadTexture("buildings.hdr");
// later in the game loop..
DrawTexturePro(t, (Rectangle){0,0,2048,1024},(Rectangle){0,0,10,5}, (Vector2){0,0},0 , WHITE);

Here is a comparison on desktop vs android:

Screenshot from 2023-09-23 23-27-27

image

AnasASK commented 1 year ago

Sorry this should go to raylib not raygui issues. Closing