pauceano / freetype-gl

Automatically exported from code.google.com/p/freetype-gl
Other
0 stars 0 forks source link

texture_atlas_new problem #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. texture_atlas_t *atlas = texture_atlas_new( 512, 512, 4 );
2. when using depth=4 to create a new texture_atlas, opengl texture data seems 
wrong 

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by dafeimob...@gmail.com on 28 Mar 2012 at 3:43

GoogleCodeExporter commented 9 years ago
If you use texture atlas with freetype-gl you can only use 1 or 3 for depth 
(but you can still have transparency using shader if this is what you have in 
mind). If this is not the case, could your provide a simple example ?

Original comment by Nicolas.Rougier@gmail.com on 3 Apr 2012 at 7:36

GoogleCodeExporter commented 9 years ago
Forget about it, i use 1 depth and it works fine~

Original comment by dafeimob...@gmail.com on 3 Apr 2012 at 8:25

GoogleCodeExporter commented 9 years ago

Original comment by Nicolas.Rougier@gmail.com on 18 Apr 2012 at 6:54