Ejemplo n.º 1
0
        public static uint load_OGL_texture(string filename, SOIL_LOAD force_channels, SOIL_NEW reuse_texture_ID, SOIL_FLAG flags)
        {
            if (IntPtr.Size == 4)
            {
                return(load_OGL_texture32(filename, force_channels, reuse_texture_ID, flags));
            }

            return(load_OGL_texture64(filename, force_channels, reuse_texture_ID, flags));
        }
Ejemplo n.º 2
0
 static extern uint load_OGL_texture64(string filename, SOIL_LOAD force_channels, SOIL_NEW reuse_texture_ID, SOIL_FLAG flags);