Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
46 user(s) are online (38 user(s) are browsing Forums)

Members: 0
Guests: 46

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

Re: SDL1 open issues

Subject: Re: SDL1 open issues
by Capehill on 2018/3/21 17:12:57

@kas1e

There is cgl_GLCopyTexImage1D in MiniGL sources.

// Faking 1D textures using 2D textures     
// WARNING: This assumes that Warp3D doesn't support texture borders. If this changes, then so must this     
// function      
cgl_GLCopyTexImage2D(SelfGL_TEXTURE_2DlevelinternalFormatxywidth1border);      
// The vertical direction should always be repeated
cgl_GLTexParameteri(SelfgltargetGL_TEXTURE_WRAP_TGL_REPEAT);

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project