mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
Merge branch 'release/1.9.x'
This commit is contained in:
commit
f12e2b5f68
@ -12824,6 +12824,10 @@ extract_texture_image(PTA_uchar &image, size_t &page_size,
|
|||||||
return false;
|
return false;
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
// Make sure the GL driver does not align textures, otherwise we get corrupt
|
||||||
|
// memory, since we don't take alignment into account.
|
||||||
|
glPixelStorei(GL_PACK_ALIGNMENT, 1);
|
||||||
|
|
||||||
if (target == GL_TEXTURE_CUBE_MAP) {
|
if (target == GL_TEXTURE_CUBE_MAP) {
|
||||||
// A cube map, compressed or uncompressed. This we must extract
|
// A cube map, compressed or uncompressed. This we must extract
|
||||||
// one page at a time.
|
// one page at a time.
|
||||||
|
@ -249,7 +249,7 @@ spawn_child_system(BaseParticle *bp) {
|
|||||||
|
|
||||||
if (_spawn_templates.size() == 0) {
|
if (_spawn_templates.size() == 0) {
|
||||||
physics_cat.error() << "ParticleSystem::spawn_child_system: "
|
physics_cat.error() << "ParticleSystem::spawn_child_system: "
|
||||||
<< "no spawn templates presesnt." << endl;
|
<< "no spawn templates present." << endl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user