mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 08:15:59 -10:00
030bbaa793dec8099682bd4677744dcccef7257d
A mission's $Environment Map is used as a cubemap without checking. Naming an ordinary 2D texture made OpenGL copy six faces out of a one-face image and crash when the mission started (issue #2245). Check the loaded bitmap with a new bm_is_cubemap(); if it is not a cubemap, warn, release it and build the generated environment map, as for a mission that names none. DX10 (BC7) DDS files carry no cube flag through the loader, so they are let through unchecked, as before. Co-authored-by: Dustinspace217 <[email protected]>
FreeSpace2 Source Code Project
Building
Before you do anything, make sure you have updated your git submodules, either by running git submodule update --init --recursive or by cloning the repository with the --recursive flag.
The main instructions for building can be found at our github wiki, on the Building page.
Releases
1
Release release_26_2_0
Latest
Languages
C++
75.7%
C
22%
CMake
1%
HTML
0.5%
Objective-C++
0.3%
Other
0.2%