mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fix typos
This commit is contained in:
parent
d2f4452fc8
commit
2bc4e15043
@ -116,7 +116,7 @@ int main()
|
|||||||
// Staging buffer for our terrain data that we will upload to our VertexBuffer
|
// Staging buffer for our terrain data that we will upload to our VertexBuffer
|
||||||
std::vector<sf::Vertex> terrainStagingBuffer;
|
std::vector<sf::Vertex> terrainStagingBuffer;
|
||||||
|
|
||||||
// Check whether the prerequisites are suppprted
|
// Check whether the prerequisites are supported
|
||||||
bool prerequisitesSupported = sf::VertexBuffer::isAvailable() && sf::Shader::isAvailable();
|
bool prerequisitesSupported = sf::VertexBuffer::isAvailable() && sf::Shader::isAvailable();
|
||||||
|
|
||||||
// Set up our graphics resources and set the status text accordingly
|
// Set up our graphics resources and set the status text accordingly
|
||||||
|
@ -81,7 +81,7 @@ private:
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
void onStop() override
|
void onStop() override
|
||||||
{
|
{
|
||||||
// Send a "end-of-stream" packet
|
// Send an "end-of-stream" packet
|
||||||
sf::Packet packet;
|
sf::Packet packet;
|
||||||
packet << clientEndOfStream;
|
packet << clientEndOfStream;
|
||||||
|
|
||||||
|
@ -715,7 +715,7 @@ HIDInputManager::HIDInputManager()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Build up our knownledge of the hardware
|
// Build up our knowledge of the hardware
|
||||||
initializeKeyboard();
|
initializeKeyboard();
|
||||||
buildMappings();
|
buildMappings();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user