[DEBUG] opengl es 2 on PC not work identicaly as embended board

This commit is contained in:
Edouard DUPIN 2017-01-30 23:32:10 +01:00
parent 487d265b66
commit 9c8a3513a6
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#ifdef GL_ES
#extension GL_OES_standard_derivatives : enable
precision mediump float;
precision mediump int;
#extension GL_OES_standard_derivatives : enable
#endif
// Input :

View File

@ -82,6 +82,7 @@ void ewol::widget::Entry::onCallbackShortCut(const std::string& _value) {
} else if (_value == "copy") {
onCallbackCopy();
} else if (_value == "paste") {
EWOL_WARNING("Request past ...");
onCallbackPaste();
} else if (_value == "select:all") {
onCallbackSelect(true);
@ -244,7 +245,7 @@ void ewol::widget::Entry::copySelectionToClipBoard(enum gale::context::clipBoard
bool ewol::widget::Entry::onEventInput(const ewol::event::Input& _event) {
//EWOL_DEBUG("Event on Entry ... type=" << (int32_t)type << " id=" << IdInput);
EWOL_WARNING("Event on Input ... " << _event);
if (_event.getId() == 1) {
if (gale::key::status::pressSingle == _event.getStatus()) {
keepFocus();
@ -337,6 +338,7 @@ bool ewol::widget::Entry::onEventInput(const ewol::event::Input& _event) {
bool ewol::widget::Entry::onEventEntry(const ewol::event::Entry& _event) {
EWOL_WARNING("Event on Entry ... " << _event);
if (_event.getType() == gale::key::keyboard::character) {
if(_event.getStatus() == gale::key::status::down) {
// remove curent selected data ...