P
P
PRIYD2020-06-22 12:51:10
C++ / C#
PRIYD, 2020-06-22 12:51:10

Why doesn't glUseProgram work?

Hello, I made shaders according to the lesson and for some reason, both with mine and with the source code of the glUseProgram lesson, it doesn’t work for me.

Mistake:

error C3861: __glewUseProgram: идентификатор не найден


PS It seems that everything was indicated to solve the problem, if not, then write - I will add
PS2 It seems that all imports are configured correctly, because if it were not so, then other functions would fall down

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PRIYD, 2020-06-22
@PRIYD

It seems that the problem was still in GLEW, because reinstalling it helped to solve the error.
UPD: This function still behaves very strange, although, perhaps, I don’t understand something: if it is called in the same method with glLinkProgram (), then the error remains, but if you create a separate method - no

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question