Comments (3)
Thanks for spotting this!
get_info_log
always uses pid_
, which is ok for linker errors, but it should use the local shader id
in case of compile errors.
It seems that shaders that do not compile do not get deleted properly in cleanup()
, since their id
is added to shaders_
only after successful compilation. Probably we should add id
to shaders_
after creation, not after compilation, in compile()
or load_and_compile()
.
@dsieger any thoughts?
from pmp-library.
I'll take a look
from pmp-library.
It seems that shaders that do not compile do not get deleted properly in
cleanup()
, since theirid
is added toshaders_
only after successful compilation. Probably we should addid
toshaders_
after creation, not after compilation, incompile()
orload_and_compile()
.
Yep, storing the shader ID directly after creation seems much cleaner. Changed in 09cc75d.
from pmp-library.
Related Issues (20)
- Issue with STL reader HOT 3
- STL export does not guarantee positive vertex coordinates HOT 2
- remnants of submodules HOT 2
- missing faces in face circulator HOT 2
- Curious, is this topology a legitimate and supported halfedge data structure? HOT 2
- extract texture png file HOT 1
- Valence of faces are unexpectedly 0, affecting is_triangle_mesh() HOT 6
- Issue in hole filling algorithm HOT 1
- Parameterization with stitched edges
- Keyboard modifier state is not tracked correctly when ImGui is capturing the keyboard HOT 2
- SurfaceMesh gives the error result HOT 1
- OpenGL 4.6 support? HOT 1
- In laplace_matrix function, Eigen SparseMatrix setFromTriplets gives "double free or corruption (out)" Error. HOT 5
- write_obj followed by read_obj crashes when the mesh has halfedge texcoords HOT 1
- Topology Exception reading binary STL files HOT 8
- Help Needed - How to use this in iOS Project
- Bug of Renderer::update_opengl_buffers? HOT 6
- Incorrect endianness in OFF file handling HOT 6
- WebGL demo apps broken with latest Emscripten release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pmp-library.