Raylib: [example] models_material_png broken, ‘GenTextureCubemap()’ changed

Created on 22 Sep 2020  ·  6Comments  ·  Source: raysan5/raylib

When building the given examples, I encountered this error: too few arguments to function ‘GenTextureCubemap’.

Upon investigation, it seems that the function GenTextureCubemap is declared to have 4 arguments, when in models/models_skybox.c and models/models_material_pbr.c, only 3 were passed in when calling the function.

All 6 comments

@ianpan870102 good catch! actually that function was changed yesterday... in any case models_material_pbr.c doesn't work properly at this point

@raysan5 Thanks Ray, I see. Guess I'll keep this issue for a while till it's solved? 👍

Speaking of, do you have plans on producing a stable branch for people to download directly with git? Or perhaps have current unstable development live in a dev branch? Just thinking out loud.
Anyways, thanks for maintaining this project, I came across this yesterday and it's very inspiring!

personally I always use the "dev" branch, it's only occasionally an example stays broke sometimes just a few hours...

too many versions kicking about - confusion !

@ianpan870102 I used to have a develop branch but after CI system addition I switched to one main branch. raylib is usually stable.

I'm closing this issue for now, models_material_pbr will be reviewed in the future...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SethArchambault picture SethArchambault  ·  9Comments

Triangle345 picture Triangle345  ·  8Comments

raysan5 picture raysan5  ·  12Comments

raysan5 picture raysan5  ·  10Comments

siavashserver picture siavashserver  ·  5Comments