This website works better with JavaScript
Inicio
Explorar
Ayuda
Iniciar sesión
cpp
/
BansheeEngine
espejo de
https://github.com/larioteo/BansheeEngine.git
Seguir
2
Destacar
0
Fork
0
Archivos
Incidencias
0
Wiki
Explorar el Código
BsFrameAlloc not resetting pointer position when cleared (Memory leak)
MarcoROG
hace 8 años
padre
caab3c8c6b
commit
c9c1f659fb
Se han
modificado 1 ficheros
con
2 adiciones
y
0 borrados
Dividir vista
Mostrar estadísticas de diff
2
0
Source/BansheeUtility/Source/BsFrameAlloc.cpp
+ 2
- 0
Source/BansheeUtility/Source/BsFrameAlloc.cpp
Ver fichero
@@ -235,6 +235,8 @@ namespace bs
allocBlock(totalBytes);
}
+ else
+ mBlocks[0]->mFreePtr = 0;
}
}