std::string bmpname = filename + ".bmp"; SDL_Surface * surface = SDL_LoadBMP(bmpname.c_str()); if (surface) { glGenTextures(1, &m_texture_name); ...
確定! 回上一頁