Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
58 user(s) are online (45 user(s) are browsing Forums)

Members: 0
Guests: 58

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: The MiniGL thread

Subject: Re: The MiniGL thread
by Raziel on 2019/3/26 7:05:53

@Daytona675x

I've found something in the specific code, two instances with remarks...

gfx_opengl_texture.cpp
// TODO: If non power of two textures are unavailable this clamping
    // has no effect on the padded sides (resulting in white lines on the edges)
    
glTexParameteri(GL_TEXTURE_2DGL_TEXTURE_WRAP_SGL_CLAMP_TO_EDGE);
    
glTexParameteri(GL_TEXTURE_2DGL_TEXTURE_WRAP_TGL_CLAMP_TO_EDGE);


gfx_tinygl_texture.cpp
// NOTE: TinyGL doesn't have issues with white lines so doesn't need use TGL_CLAMP_TO_EDGE
    
tglTexParameteri(TGL_TEXTURE_2DTGL_TEXTURE_WRAP_STGL_REPEAT);
    
tglTexParameteri(TGL_TEXTURE_2DTGL_TEXTURE_WRAP_TTGL_REPEAT);

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project